forked from 0ad/0ad
Fix whitespace and remove duplicate comment, refs #1950.
This was SVN commit r18208.
This commit is contained in:
parent
9368ffe345
commit
7cd43ba8cf
@ -691,13 +691,6 @@ function pauseGame(pause = true, explicit = false)
|
||||
updatePauseOverlay();
|
||||
}
|
||||
|
||||
/**
|
||||
* Resume the game.
|
||||
*
|
||||
* @param explicit - true if the player explicitly wants to resume the game.
|
||||
* If this argument isn't set, a multiplayer game won't be resumed and the pause overlay won't
|
||||
* be closed in single player.
|
||||
*/
|
||||
function resumeGame(explicit = false)
|
||||
{
|
||||
pauseGame(false, explicit);
|
||||
|
@ -1215,7 +1215,7 @@ bool CNetServerWorker::OnDisconnect(void* context, CFsmEvent* event)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CNetServerWorker::OnClientPaused(void *context, CFsmEvent *event)
|
||||
bool CNetServerWorker::OnClientPaused(void* context, CFsmEvent* event)
|
||||
{
|
||||
ENSURE(event->GetType() == (uint)NMT_CLIENT_PAUSED);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user