summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-07 00:25:36 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-07 00:25:36 +0000
commit9242e32cfc75a0655f5b95c636425a19045a90e5 (patch)
tree994e05e814e8076f5227a7b9e64413c5b2fa33c4 /crawl-ref/source/player.cc
parentdf7f0e866d3476d46f57767da6b46f1b670587ea (diff)
downloadcrawl-ref-9242e32cfc75a0655f5b95c636425a19045a90e5.tar.gz
crawl-ref-9242e32cfc75a0655f5b95c636425a19045a90e5.zip
Fix the old issue of switching to the butchering tool before actually
deciding on which corpse to butcher. Now, if there's no eligible tool to automatically switch to (or the autoswitch option is false) you get prompted at the beginning of the butchering routine but you don't actually switch weapons or take off your gloves until right before you start butchering. Obviously, the same applies when autoswitching. This means you don't lose a turn anymore if you change your mind in-between. I really hope I haven't introduced other bugs this way but a fix was badly in need since I'd changed the automatic weapon swap to take a turn just as the manual swap does. Also fix swap_when_safe so that it also working when the real weapon is on slot 'a' (== 0) which will probably be the norm rather than an exception. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6437 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 252bbe152c..15cb592619 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -3960,7 +3960,7 @@ void display_char_status()
if (you.rotting || you.species == SP_GHOUL)
mprf("Your flesh is rotting%s.", _get_rotting_how());
- // prints a contamination message
+ // Prints a contamination message.
contaminate_player( 0, false, true );
if (you.duration[DUR_CONFUSING_TOUCH])