// *************************************************************** // Function: PlayerGSDisconnect.cpp // *************************************************************** #include "LocalData.h" #include "../../src/NetServer.h" #include "../../src/Utility.h" //************************************ // Name: ProcessGSPDNotice // // Handles the player dispatched from game server to another game server packet. // // Parameters: // pData - Network data // // Return: // //************************************ void ProcessGSPDNotice(NetMessage* pData) { LOCAL_DATA* pLir=AccessLocalData(Read_uShort(pData->pData+2)); if (pLir!=NULL) { BIT_CLR(pLir->bitfield, LD_DISPATCHED); pLir->gameServerId=0; } }