Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mod_guildhouse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -507,20 +507,20 @@ class GuildHousePlayerScript : public PlayerScript
public:
GuildHousePlayerScript() : PlayerScript("GuildHousePlayerScript") {}

void OnLogin(Player* player)
void OnPlayerLogin(Player* player)
{
CheckPlayer(player);
}

void OnUpdateZone(Player* player, uint32 newZone, uint32 /*newArea*/)
void OnPlayerUpdateZone(Player* player, uint32 newZone, uint32 /*newArea*/)
{
if (newZone == 876)
CheckPlayer(player);
else
player->SetPhaseMask(GetNormalPhase(player), true);
}

bool OnBeforeTeleport(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)
{
(void)mapid;
(void)x;
Expand Down
Loading