diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-17 21:02:13 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-11-17 21:02:13 +0000 |
commit | cba36e09a9f04f7e691fac4f1c720c9935227298 (patch) | |
tree | 776c117b04216422ef4b806749916bdfa1ba0c27 /crawl-ref/source/player.cc | |
parent | 2d63ab533a35163bf93d03f5db33b5ed8ec5a2ea (diff) | |
download | crawl-ref-cba36e09a9f04f7e691fac4f1c720c9935227298.tar.gz crawl-ref-cba36e09a9f04f7e691fac4f1c720c9935227298.zip |
Clean up handling of thrown items (mostly large rocks) again.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7467 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r-- | crawl-ref/source/player.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc index ca7ca02412..39c4d506cc 100644 --- a/crawl-ref/source/player.cc +++ b/crawl-ref/source/player.cc @@ -6865,9 +6865,9 @@ bool player::cannot_act() const return (asleep() || cannot_move()); } -bool player::can_throw_rocks() const +bool player::can_throw_large_rocks() const { - return (species == SP_OGRE || species == SP_TROLL); + return (player_genus(GENPC_OGRE) || species == SP_TROLL); } void player::put_to_sleep(int) |