diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-20 20:20:16 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-03-20 20:20:16 +0000 |
commit | c7a78ad69f3470fd1202507dbd28972010658466 (patch) | |
tree | 559b3feacd8b781aba3f5e2749d40576df0e8ce1 /crawl-ref/source/player.cc | |
parent | 9d0d35643d521ebd9972311d823abd9969170214 (diff) | |
download | crawl-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