mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
2817f301ad
commit
1fb8a52032
6 changed files with 22 additions and 0 deletions
|
|
@ -592,3 +592,13 @@ bool ChatHandler::HandleSendLargePacketCommand(const char* args)
|
|||
SendSysMessage(ss.str().c_str());
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ChatHandler::HandleSendSetPhaseShiftCommand(const char* args)
|
||||
{
|
||||
if(!args)
|
||||
return false;
|
||||
|
||||
uint32 PhaseShift = atoi(args);
|
||||
m_session->SendSetPhaseShift(PhaseShift);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue