summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 42aec99974..c493ed5d81 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -470,7 +470,7 @@ void create_spec_monster_name(int x, int y)
// Need to set a name for the player ghost
if (mspec.mid == MONS_PLAYER_GHOST)
{
- unsigned char mid = mgrd[x][y];
+ unsigned short mid = mgrd[x][y];
if (mid >= MAX_MONSTERS || menv[mid].type != MONS_PLAYER_GHOST)
{