[0028] Implented new phase/map/terrain swap system for cata.

This commit is contained in:
Fabian 2012-08-09 02:26:50 +02:00 committed by Antz
parent 3561a43fe1
commit 3b8fb556a7
20 changed files with 288 additions and 16 deletions

View file

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