summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index bb9224de52..007a679cfc 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6425,9 +6425,9 @@ std::string player::arm_name(bool plural, bool *can_plural) const
return (str);
}
-int player::id() const
+monster_type player::id() const
{
- return (-1);
+ return (MONS_PLAYER);
}
int player::mindex() const