summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e9d72d135c..f9ed4f9f2c 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -2531,7 +2531,7 @@ static void _find_remains(monsters* mon, int &corpse_class, int &corpse_index,
}
// If it's a hydra the number of heads must match.
- if ((int) mon->number != si->props[MONSTER_NUMBER].get_long())
+ if ((short) mon->number != si->props[MONSTER_NUMBER].get_short())
break;
// Got it!