summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/acr.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 15:08:48 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-26 15:08:48 +0000
commita291e99809652bb3308f08d777bafb134328d835 (patch)
treee6fa16ffe6ec572ac2f8ba44a62575d70a2e6bfe /crawl-ref/source/acr.cc
parent7dd20bb5af17f48ca9a2ff5e4d63cd494e0498de (diff)
downloadcrawl-ref-a291e99809652bb3308f08d777bafb134328d835.tar.gz
crawl-ref-a291e99809652bb3308f08d777bafb134328d835.zip
Disallow quivering equipped items. (You can still (fi)re your wielded
weapon if you insist, you just can't quiver it.) And another general clean-up. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6149 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/acr.cc')
-rw-r--r--crawl-ref/source/acr.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/crawl-ref/source/acr.cc b/crawl-ref/source/acr.cc
index 3da9db5d82..171aef1108 100644
--- a/crawl-ref/source/acr.cc
+++ b/crawl-ref/source/acr.cc
@@ -532,7 +532,7 @@ static void _handle_wizard_command( void )
case 's':
you.exp_available = 20000;
- you.redraw_experience = 1;
+ you.redraw_experience = true;
break;
case 'S':
@@ -545,7 +545,7 @@ static void _handle_wizard_command( void )
case '$':
you.gold += 1000;
- you.redraw_gold = 1;
+ you.redraw_gold = true;
if (!Options.show_gold_turns)
mprf("You now have %d gold.", you.gold);
break;
@@ -729,21 +729,22 @@ static void _handle_wizard_command( void )
set_hunger( 10999, true );
break;
- case 'H':
+ case 'H': // super-heal
you.rotting = 0;
you.duration[DUR_CONF] = 0;
you.duration[DUR_POISONING] = 0;
+ you.duration[DUR_LIQUID_FLAMES] = 0;
if (you.duration[DUR_BEHELD])
{
you.duration[DUR_BEHELD] = 0;
you.beheld_by.clear();
}
- you.duration[DUR_LIQUID_FLAMES] = 0;
+ you.magic_contamination = 0;
you.disease = 0;
inc_hp( 10, true );
set_hp( you.hp_max, false );
set_hunger( 10999, true );
- you.redraw_hit_points = 1;
+ you.redraw_hit_points = true;
break;
case 'b':