Network cleanup, refs #3752.

Replace a TODO comment asking why something is set with a comment
answering that.

This was SVN commit r18268.
This commit is contained in:
elexis
2016-05-30 17:59:02 +00:00
parent b18c4ac217
commit ac4533f7df
2 changed files with 8 additions and 4 deletions
+1
View File
@@ -1072,6 +1072,7 @@ bool CNetServerWorker::OnInGame(void* context, CFsmEvent* event)
}
else if (message->GetType() == (uint)NMT_END_COMMAND_BATCH)
{
// The turn-length field is ignored
CEndCommandBatchMessage* endMessage = static_cast<CEndCommandBatchMessage*> (message);
server.m_ServerTurnManager->NotifyFinishedClientCommands(session->GetHostID(), endMessage->m_Turn);
}