[11847] Fix teleport spells with TargetType (TARGET_TABLE_X_Y_Z_COORDINATES, NO_TARGET)

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
This commit is contained in:
Schmoozerd 2011-11-15 19:55:35 +01:00
parent f4d862ac0a
commit a427718cab
3 changed files with 8 additions and 2 deletions

View file

@ -2705,6 +2705,7 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList&
targetUnitMap.push_back(owner);
}
break;
case SPELL_EFFECT_TELEPORT_UNITS:
case SPELL_EFFECT_SUMMON:
case SPELL_EFFECT_SUMMON_CHANGE_ITEM:
case SPELL_EFFECT_TRANS_DOOR: