mirror of
https://github.com/mangosfour/server.git
synced 2025-12-19 22:37:05 +00:00
[0028] Implented new phase/map/terrain swap system for cata.
This commit is contained in:
parent
3561a43fe1
commit
3b8fb556a7
20 changed files with 288 additions and 16 deletions
|
|
@ -666,8 +666,12 @@ bool ChatHandler::HandleDebugSendSetPhaseShiftCommand(char* args)
|
|||
if (!*args)
|
||||
return false;
|
||||
|
||||
uint32 PhaseShift = atoi(args);
|
||||
m_session->SendSetPhaseShift(PhaseShift);
|
||||
char* m = strtok((char*)args, " ");
|
||||
char* p = strtok(NULL, " ");
|
||||
|
||||
uint16 MapId = atoi(m);
|
||||
uint32 PhaseShift = atoi(p);
|
||||
m_session->SendSetPhaseShift(PhaseShift, MapId);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue