fix(premium): fix OnPlayerBeforeTeleport compilation errors
This commit is contained in:
@@ -929,7 +929,7 @@ public:
|
||||
return sEluna->CanPlayerResurrect(player);
|
||||
}
|
||||
|
||||
bool OnPlayerBeforeTeleport(Player *player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit *target)
|
||||
bool OnPlayerBeforeTeleport(Player *player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit *target) override
|
||||
{
|
||||
return sEluna->OnPlayerBeforeTeleport(player, mapid, x, y, z, orientation, options, target);
|
||||
}
|
||||
|
||||
@@ -497,7 +497,7 @@ public:
|
||||
void OnPlayerAuraApply(Player* player, Aura* aura);
|
||||
void OnPlayerHeal(Player* player, Unit* target, uint32& gain);
|
||||
void OnPlayerDamage(Player* player, Unit* target, uint32& gain);
|
||||
void OnBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target);
|
||||
void OnPlayerBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target);
|
||||
|
||||
/* Vehicle */
|
||||
void OnInstall(Vehicle* vehicle);
|
||||
|
||||
Reference in New Issue
Block a user