diff options
author | megamage <none@none> | 2009-02-15 12:13:34 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-15 12:13:34 -0600 |
commit | ff63eece3ce554876a4f63c1f916a862672aa0a3 (patch) | |
tree | 5f4df67cda753553ba6cbc09d0b13c13eda433e9 /src/game/Debugcmds.cpp | |
parent | 96352844949dee0522e7afb3684577886a70a226 (diff) |
Propertly send SMSG_SET_PHASE_SHIFT to inform client about phase shift at phase change. Author: GriffonHeart
--HG--
branch : trunk
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r-- | src/game/Debugcmds.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp index 60f1536963f..68e934abc7c 100644 --- a/src/game/Debugcmds.cpp +++ b/src/game/Debugcmds.cpp @@ -649,3 +649,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; +} |