mirror of
https://github.com/glest/glest-source.git
synced 2025-09-09 23:40:45 +02:00
Removed throw from client disconnect
This commit is contained in:
@@ -1025,11 +1025,11 @@ namespace Glest {
|
|||||||
case nmtQuit:
|
case nmtQuit:
|
||||||
{
|
{
|
||||||
//time_t receiveTimeElapsed = time(NULL);
|
//time_t receiveTimeElapsed = time(NULL);
|
||||||
NetworkMessageQuit networkMessageQuit;
|
/*NetworkMessageQuit networkMessageQuit;
|
||||||
bool gotCmd = receiveMessage(&networkMessageQuit);
|
bool gotCmd = receiveMessage(&networkMessageQuit);
|
||||||
if (gotCmd == false) {
|
if (gotCmd == false) {
|
||||||
throw megaglest_runtime_error("error retrieving nmtQuit returned false!");
|
throw megaglest_runtime_error("error retrieving nmtQuit returned false!");
|
||||||
}
|
}*/
|
||||||
if (SystemFlags::getSystemSettingType(SystemFlags::debugPerformance).enabled && chrono.getMillis() > 0) SystemFlags::OutputDebug(SystemFlags::debugPerformance, "In [%s::%s Line: %d] took msecs: %lld\n", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__, chrono.getMillis());
|
if (SystemFlags::getSystemSettingType(SystemFlags::debugPerformance).enabled && chrono.getMillis() > 0) SystemFlags::OutputDebug(SystemFlags::debugPerformance, "In [%s::%s Line: %d] took msecs: %lld\n", extractFileFromDirectoryPath(__FILE__).c_str(), __FUNCTION__, __LINE__, chrono.getMillis());
|
||||||
if (SystemFlags::getSystemSettingType(SystemFlags::debugPerformance).enabled && chrono.getMillis() > 0) chrono.start();
|
if (SystemFlags::getSystemSettingType(SystemFlags::debugPerformance).enabled && chrono.getMillis() > 0) chrono.start();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user