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:
GriffonHeart 2009-02-15 12:00:47 +03:00 committed by VladimirMangos
parent 2817f301ad
commit 1fb8a52032
6 changed files with 22 additions and 0 deletions

View file

@ -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;
}