fix(premium): fix OnBeforeTeleport compilation errors
This commit is contained in:
@@ -829,7 +829,7 @@ void Eluna::OnPlayerDamage(Player* player, Unit* target, uint32& damage)
|
|||||||
|
|
||||||
bool 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_WITH_RETVAL(PLAYER_EVENT_ON_BEFORE_TELEPORT, true);
|
||||||
|
|
||||||
Push(player);
|
Push(player);
|
||||||
Push(mapid);
|
Push(mapid);
|
||||||
|
|||||||
Reference in New Issue
Block a user