summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index dc5c27120a..4ccd1cb207 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1120,7 +1120,7 @@ int melee_attack::player_stab(int damage)
// Sleeping moster wakes up when stabbed but may be groggy
if (random2(200) <= you.skills[SK_STABBING] + you.dex)
{
- unsigned int stun = random2( you.dex + 1 );
+ int stun = random2( you.dex + 1 );
if (def->speed_increment > stun)
def->speed_increment -= stun;