浏览代码

Fixed CID 1197624

AlexVinS 9 年之前
父节点
当前提交
d003abea6f
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      client/Client.cpp

+ 0 - 4
client/Client.cpp

@@ -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()