summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-29 19:25:47 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-29 19:25:47 +0000
commit4dc30336a62ec7e8261253fc0b9c0674efda1555 (patch)
tree0e9a7c350fbd1725327f6c0a8bae934524d3e1f1 /crawl-ref/source/monstuff.cc
parent5060b8b617ae6987eb81ba9fde12ff65e9b2beb2 (diff)
downloadcrawl-ref-4dc30336a62ec7e8261253fc0b9c0674efda1555.tar.gz
crawl-ref-4dc30336a62ec7e8261253fc0b9c0674efda1555.zip
Add Eino's totally awesome Grum tile, as well as my own significantly less
awesome tile for Kirke. Thanks, Eino, you rock! Some modifications for Kirke: * reduce the size of Kirke's hog band * replace Summon Ice Beasts with another instance of the "porkalator" * give the porkalator a 33% chance of upgrading a nearby hostile monster to hog Also, open a new category in dc-mon.txt for transformations, so specific tiles are easier to add. The player's pig form now looks subtly different from the other hogs, some greater difference would be better, though. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10076 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r--crawl-ref/source/monstuff.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc
index 2673369232..ccc1526130 100644
--- a/crawl-ref/source/monstuff.cc
+++ b/crawl-ref/source/monstuff.cc
@@ -1477,7 +1477,7 @@ int monster_die(monsters *monster, killer_type killer,
{
bool notice = false;
- monsters *killer_mon;
+ monsters *killer_mon = NULL;
if (!anon)
{
killer_mon = &menv[killer_index];
@@ -6561,7 +6561,7 @@ static bool _handle_spell(monsters *monster, bolt &beem)
if (ms_low_hitpoint_cast(monster, hspell_pass[i])
&& one_chance_in(++found_spell))
{
- spell_cast = hspell_pass[i];
+ spell_cast = hspell_pass[i];
finalAnswer = true;
}
}