fix(premium): fix OnPlayeBeforeTeleport compilation errors
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user