*Correctly show spellclick flag for vehicles and creatures with info in spellclick table.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-06-08 23:43:25 -05:00
parent 30adb32d53
commit a8dbf8904c
7 changed files with 20 additions and 17 deletions

View File

@@ -3393,10 +3393,8 @@ void Spell::EffectSummonType(uint32 i)
vehicle->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
if(damage)
{
m_caster->CastSpell(vehicle, damage, true);
m_caster->EnterVehicle(vehicle);
}
m_caster->EnterVehicle(vehicle);
break;
}
}