summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 12:40:49 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 12:40:49 +0000
commit3f3384869c8751bd4a62654a0e32abb797287455 (patch)
tree5f3d19721f144eb8514c4ad6bf374b77e35761e8 /crawl-ref
parent573df8b24277795bf33dbb2f532c1d142884ff21 (diff)
downloadcrawl-ref-3f3384869c8751bd4a62654a0e32abb797287455.tar.gz
crawl-ref-3f3384869c8751bd4a62654a0e32abb797287455.zip
[2083243] Fixed crash when blinking monsters get killed by trap they land on. The fix no longer allows blinkers their zero-cost blink.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6886 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/monstuff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index a3d11cf1f9..e9cde53c05 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4090,7 +4090,7 @@ static bool _handle_special_ability(monsters *monster, bolt & beem)
if (one_chance_in(7) || mons_is_caught(monster) && one_chance_in(3))
{
simple_monster_message(monster, " blinks.");
- monster_blink(monster);
+ used = monster_blink(monster);
}
break;