- fix headless network comamnd bug

This commit is contained in:
SoftCoder 2015-12-26 13:14:22 -08:00
parent 6eb7a1e625
commit 08713078b6
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit c5cffd71d650321c49046dba3607b7107ca3868a
Subproject commit f22554bcfa828545a8996e8f08a49c9f96848283

View File

@ -992,7 +992,7 @@ void ConnectionSlot::update(bool checkForNewClients,int lockedSlotIndex) {
}
NetworkMessageLaunch networkMessageLaunch;
if(receiveMessage(&networkMessageLaunch)) {
if(receiveMessage(&networkMessageLaunch,networkMessageType)) {
if(networkMessageLaunch.getMessageType() == nmtLaunch) {
if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s Lined: %d] got nmtLaunch\n",__FILE__,__FUNCTION__,__LINE__);
//printf("Got launch request from client joinGameInProgress = %d joinGameInProgress = %d!\n",joinGameInProgress,joinGameInProgress);