summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills.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/skills.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/skills.cc')
-rw-r--r--crawl-ref/source/skills.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc
index 4bdc9b55a8..051a8c0e4c 100644
--- a/crawl-ref/source/skills.cc
+++ b/crawl-ref/source/skills.cc
@@ -98,7 +98,7 @@ void calc_total_skill_points( void )
you.skill_cost_level = i - 1;
#if DEBUG_DIAGNOSTICS
- you.redraw_experience = 1;
+ you.redraw_experience = true;
#endif
}
@@ -446,7 +446,7 @@ static int _exercise2( int exsk )
calc_mp();
if (exsk == SK_DODGING || exsk == SK_ARMOUR)
- you.redraw_evasion = 1;
+ you.redraw_evasion = true;
if (exsk == SK_ARMOUR || exsk == SK_SHIELDS
|| exsk == SK_ICE_MAGIC || exsk == SK_EARTH_MAGIC