summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-02 13:48:06 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-02 13:48:06 +0000
commitb3ae0b417b14663504696fed842472257cc1466b (patch)
tree10cbba57673d56b708171f2fcd0222667f0266b6
parentdac84d3345e678e512593f7652dd59a3fde355c1 (diff)
downloadcrawl-ref-b3ae0b417b14663504696fed842472257cc1466b.tar.gz
crawl-ref-b3ae0b417b14663504696fed842472257cc1466b.zip
[1841821] Fixed crash when monster blinks onto trap for 0.3 - trunk bugginess is more extensive, not fixed.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/branches/stone_soup-0.3@2974 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/monstuff.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index cd5b730a45..462577e8b5 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1315,7 +1315,7 @@ bool monster_blink(monsters *monster)
monster->check_redraw(oldplace);
monster->apply_location_effects();
-
+
return (true);
} // end monster_blink()
@@ -2570,6 +2570,7 @@ static bool handle_special_ability(monsters *monster, bolt & beem)
{
simple_monster_message(monster, " blinks.");
monster_blink(monster);
+ used = true;
}
break;