fix(premium): fix OnPlayeBeforeTeleport compilation errors

This commit is contained in:
gasaichandesu
2026-08-22 19:24:51 +04:00
parent f04afd14d8
commit 7c4b2c77bb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -497,7 +497,7 @@ public:
void OnPlayerAuraApply(Player* player, Aura* aura); void OnPlayerAuraApply(Player* player, Aura* aura);
void OnPlayerHeal(Player* player, Unit* target, uint32& gain); void OnPlayerHeal(Player* player, Unit* target, uint32& gain);
void OnPlayerDamage(Player* player, Unit* target, uint32& gain); void OnPlayerDamage(Player* player, Unit* target, uint32& gain);
void 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);
/* Vehicle */ /* Vehicle */
void OnInstall(Vehicle* vehicle); void OnInstall(Vehicle* vehicle);
@@ -827,7 +827,7 @@ void Eluna::OnPlayerDamage(Player* player, Unit* target, uint32& damage)
CleanUpStack(3); CleanUpStack(3);
} }
void Eluna::OnPlayerBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target) bool Eluna::OnPlayerBeforeTeleport(Player* player, uint32 mapid, float x, float y, float z, float orientation, uint32 options, Unit* target)
{ {
START_HOOK(PLAYER_EVENT_ON_BEFORE_TELEPORT); START_HOOK(PLAYER_EVENT_ON_BEFORE_TELEPORT);