diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-09 10:55:19 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-01-09 10:55:19 +0000 |
commit | de47f74ee9a63c58d1c6f512f17d49122333cf1b (patch) | |
tree | c2c74358a77a4bfb1b211836ac37ba86bba82cc1 | |
parent | 594e12427334aef297d4ee566b55207251b9622d (diff) | |
download | crawl-ref-de47f74ee9a63c58d1c6f512f17d49122333cf1b.tar.gz crawl-ref-de47f74ee9a63c58d1c6f512f17d49122333cf1b.zip |
Oops, reversed the check.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@815 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 521d980009..b0b01329b4 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -4550,7 +4550,7 @@ static void monster_move(struct monsters *monster) mons_intel(monster->type) != I_PLANT && monster->hit_points < monster->max_hit_points / 2 && (!mons_flies(monster) || - trap_category(env.trap[which_trap].type) == DNGN_TRAP_MECHANICAL) ) + trap_category(env.trap[which_trap].type) != DNGN_TRAP_MECHANICAL) ) { good_move[count_x][count_y] = false; continue; |