From d2e1460182b6aa5b8edd0589e1ad7db5ca1c700c Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 13 Feb 2007 18:42:03 +0000 Subject: Fix compile failing on Windoze. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@952 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 3af1ea3ef6..40f8d82476 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -1682,6 +1682,7 @@ void melee_attack::player_apply_staff_damage() break; case STAFF_POISON: + { // cap chance at 30% -- let staff of Olgreb shine int temp_rand = damage_done + you.skills[SK_POISON_MAGIC]; @@ -1695,6 +1696,7 @@ void melee_attack::player_apply_staff_damage() poison_monster(def, true); } break; + } case STAFF_DEATH: if (mons_res_negative_energy(def) > 0) -- cgit v1.2.3-54-g00ecf