diff options
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r-- | crawl-ref/source/ghost.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc index cbca0a09f1..bc7a741bf3 100644 --- a/crawl-ref/source/ghost.cc +++ b/crawl-ref/source/ghost.cc @@ -870,7 +870,7 @@ bool debug_check_ghosts() return (false); if (ghost.brand < SPWPN_NORMAL || ghost.brand > MAX_PAN_LORD_BRANDS) return (false); - if (ghost.species < SP_HUMAN || ghost.species >= NUM_SPECIES) + if (ghost.species < 0 || ghost.species >= NUM_SPECIES) return (false); if (ghost.job < JOB_FIGHTER || ghost.job >= NUM_JOBS) return (false); |