diff options
author | Charles Otto <ottochar@gmail.com> | 2009-10-11 00:22:46 -0400 |
---|---|---|
committer | Charles Otto <ottochar@gmail.com> | 2009-10-11 00:22:46 -0400 |
commit | 930477f201bf327048aee3abb1831b27892bb711 (patch) | |
tree | ec8f7e6039c153bbba66620243b493f29d94aeeb /crawl-ref/source | |
parent | e4f58176388fa16d5f76815af0900a35d9e61627 (diff) | |
download | crawl-ref-930477f201bf327048aee3abb1831b27892bb711.tar.gz crawl-ref-930477f201bf327048aee3abb1831b27892bb711.zip |
Fix bug 2876251, monsters taking 2 turns to open a door.
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index e2c6672c7c..fae0e43ee8 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -7924,12 +7924,6 @@ static void _handle_monster_move(monsters *monster) if (mons_cannot_move(monster) || !_monster_move(monster)) monster->speed_increment -= non_move_energy; - else if (monster->pos() == old_pos) - { - // There was nowhere the monster could move to, so it - // did nothing. - monster->speed_increment -= non_move_energy; - } } update_beholders(monster); |