Fixed some variable/parameters type issues

This commit is contained in:
Yehonal
2017-09-18 19:35:32 +02:00
parent 353d90f256
commit 84d6011a3d
3 changed files with 7 additions and 6 deletions

View File

@@ -343,7 +343,7 @@ class AreaTrigger_at_sentry_point : public AreaTriggerScript
if (!player->FindNearestCreature(NPC_TERVOSH, 100.0f))
{
if(Creature* tervosh = player->SummonCreature(NPC_TERVOSH, -3476.51, -4105.94, 17.1, 5.3816f, TEMPSUMMON_TIMED_DESPAWN, 60000))
if(Creature* tervosh = player->SummonCreature(NPC_TERVOSH, -3476.51f, -4105.94f, 17.1f, 5.3816f, TEMPSUMMON_TIMED_DESPAWN, 60000))
tervosh->CastSpell(tervosh, SPELL_TELEPORT_VISUAL, true);
}