mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
Changed network interrupt message
This commit is contained in:
@@ -1216,15 +1216,15 @@ namespace Glest {
|
||||
NetworkMessageQuit networkMessageQuit;
|
||||
bool gotCmd = receiveMessage(&networkMessageQuit);
|
||||
if (gotCmd == false) {
|
||||
SystemFlags::OutputDebug(SystemFlags::debugError, "In [%s::%s Line: %d] error retrieving nmtQuit returned false!\n", __FILE__, __FUNCTION__, __LINE__);
|
||||
//SystemFlags::OutputDebug(SystemFlags::debugError, "In [%s::%s Line: %d] error retrieving nmtQuit returned false!\n", __FILE__, __FUNCTION__, __LINE__);
|
||||
printf("Network connection has been interrupted...\n");
|
||||
setQuit(true);
|
||||
if (isConnected() == false) {
|
||||
setQuit(true);
|
||||
close();
|
||||
return;
|
||||
}
|
||||
|
||||
//throw megaglest_runtime_error("error retrieving nmtQuit returned false!");
|
||||
setQuit(true);
|
||||
done = true;
|
||||
}
|
||||
setQuit(true);
|
||||
|
Reference in New Issue
Block a user