allow player status message in game lobby

This commit is contained in:
Mark Vejvoda 2013-06-07 00:23:30 +00:00
parent 462524bcae
commit 7a40e78b6a
1 changed files with 9 additions and 0 deletions

View File

@ -954,6 +954,15 @@ void ClientInterface::updateLobby() {
}
break;
case nmtLoadingStatusMessage:
{
NetworkMessageLoadingStatus networkMessageLoadingStatus(nmls_NONE);
if(receiveMessage(&networkMessageLoadingStatus)) {
if(SystemFlags::getSystemSettingType(SystemFlags::debugNetwork).enabled) SystemFlags::OutputDebug(SystemFlags::debugNetwork,"In [%s::%s] Line: %d\n",extractFileFromDirectoryPath(__FILE__).c_str(),__FUNCTION__,__LINE__);
}
}
break;
default:
{
string sErr = string(extractFileFromDirectoryPath(__FILE__).c_str()) + "::" + string(__FUNCTION__) + " Unexpected network message: " + intToStr(networkMessageType);