summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 12:44:35 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-09-06 12:44:35 +0000
commita4193304c99d11abc8fe994def7564357c9d831c (patch)
tree8c0d1be5dc2b51258eadc2d325143854df76de88 /crawl-ref
parent6e08da15bcedf8430bda16cbf2377e6ae9837967 (diff)
downloadcrawl-ref-a4193304c99d11abc8fe994def7564357c9d831c.tar.gz
crawl-ref-a4193304c99d11abc8fe994def7564357c9d831c.zip
Trunk->0.4 r6886: [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/branches/stone_soup-0.4@6887 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 0bf007ed85..a651eacd98 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -4179,7 +4179,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;