Pārlūkot izejas kodu

Fixed CID 1197624

AlexVinS 9 gadi atpakaļ
vecāks
revīzija
d003abea6f
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0 4
      client/Client.cpp

+ 0 - 4
client/Client.cpp

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