From c74f9b4a685a899091dc7cb1b5db5c494ed12b9a Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 5 Nov 2008 23:53:13 -0600 Subject: [PATCH] [svn] Fix a bug that summon spells may summon incorrect number of creatures (will find a better way later). --HG-- branch : trunk --- src/game/Spell.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 615b61566c..77fe888e23 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -443,6 +443,7 @@ void Spell::FillTargetMap() case SPELL_EFFECT_SUMMON_DEMON: case SPELL_EFFECT_ADD_FARSIGHT: { + tmpUnitMap.clear(); tmpUnitMap.push_back(m_caster); break; }