aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2008-11-05 23:53:13 -0600
committermegamage <none@none>2008-11-05 23:53:13 -0600
commitc74f9b4a685a899091dc7cb1b5db5c494ed12b9a (patch)
tree364ea3123453ab6bf9d01d701b39a85928ffe92e /src
parentc6442f086c44aaa300f606b1c7cd172a3caab8b6 (diff)
[svn] Fix a bug that summon spells may summon incorrect number of creatures (will find a better way later).
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 615b61566cd..77fe888e23a 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;
}