summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-20 20:20:16 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-20 20:20:16 +0000
commitc7a78ad69f3470fd1202507dbd28972010658466 (patch)
tree559b3feacd8b781aba3f5e2749d40576df0e8ce1 /crawl-ref/source/player.cc
parent9d0d35643d521ebd9972311d823abd9969170214 (diff)
downloadcrawl-ref-c7a78ad69f3470fd1202507dbd28972010658466.tar.gz
crawl-ref-c7a78ad69f3470fd1202507dbd28972010658466.zip
Fix invalid_monster_index(). First, ANON_FRIENDLY_MONSTER is negative,
so it doesn't need to be explicitly checked for. Second, make sure that the test in the function isn't backwards (oops). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3762 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
0 files changed, 0 insertions, 0 deletions