1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Fixed CID 1197624

This commit is contained in:
AlexVinS 2016-12-05 02:52:34 +03:00
parent fdec57b1c7
commit d003abea6f

View File

@ -147,19 +147,15 @@ void CClient::waitForMoveAndSend(PlayerColor color)
MakeAction temp_action(ba); MakeAction temp_action(ba);
sendRequest(&temp_action, color); sendRequest(&temp_action, color);
} }
return;
} }
catch(boost::thread_interrupted&) catch(boost::thread_interrupted&)
{ {
logNetwork->debugStream() << "Wait for move thread was interrupted and no action will be send. Was a battle ended by spell?"; logNetwork->debugStream() << "Wait for move thread was interrupted and no action will be send. Was a battle ended by spell?";
return;
} }
catch(...) catch(...)
{ {
handleException(); handleException();
return;
} }
logNetwork->errorStream() << "We should not be here!";
} }
void CClient::run() void CClient::run()