summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-24 11:39:43 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-24 11:39:43 +0000
commitcb76f80426af8941a42b7346aacba92529e41338 (patch)
treeae73182eb6be8c941aaef6683c5a539124b83552 /crawl-ref/source/abl-show.cc
parenta42cf252322e22af17e24e3f5e8f2f7a35cc0bd7 (diff)
downloadcrawl-ref-cb76f80426af8941a42b7346aacba92529e41338.tar.gz
crawl-ref-cb76f80426af8941a42b7346aacba92529e41338.zip
Finally fixed pickup.lua to work as intended (I hope).
Other small changes: - default yesno for renouncing religion to 'n' - plants and fungi aren't "interesting", even when OOD - added WIZ designator to listed saved characters git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2031 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 3dfe627c57..dfcfa80aba 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -1699,8 +1699,10 @@ static bool do_ability(const ability_def& abil)
break;
case ABIL_RENOUNCE_RELIGION:
- if (yesno("Really renounce your faith, foregoing its fabulous benefits?")
- && yesno( "Are you sure you won't change your mind later?" ))
+ if (yesno("Really renounce your faith, foregoing its fabulous benefits?",
+ false, 'n')
+ && yesno("Are you sure you won't change your mind later?",
+ false, 'n' ))
{
excommunication();
}