diff options
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index 7e1a4cdb55..06169ab102 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -5982,6 +5982,11 @@ bool player::slowable() const return (!wearing_amulet(AMU_RESIST_SLOW)); } +bool player::omnivorous() const +{ + return (species == SP_TROLL || species == SP_OGRE); +} + flight_type player::flies() const { if (attribute[ATTR_TRANSFORMATION] == TRAN_DRAGON || |