I removed the automatic game pausing when message are shown because I don't like it ( sc does not like it at all so ... ). Still auto-pausing while showing menues ingame in singleplayer.

This commit is contained in:
Titus Tscharntke
2012-04-03 00:32:52 +00:00
parent 8c6dde365b
commit 1df365d697
2 changed files with 3 additions and 4 deletions

View File

@@ -3448,9 +3448,9 @@ bool Game::getPaused()
if(popupMenu.getVisible() == true || popupMenuSwitchTeams.getVisible() == true){
return true;
}
if(mainMessageBox.getEnabled() == true || errorMessageBox.getEnabled() == true){
return true;
}
// if(mainMessageBox.getEnabled() == true || errorMessageBox.getEnabled() == true){
// return true;
// }
if(currentUIState != NULL) {
return true;
}

View File

@@ -162,7 +162,6 @@ public:
Texture2D *getHudTexture() const {return hudTexture;}
void setHudTexture(Texture2D* value) { hudTexture = value;}
const CommandType *getActiveCommandType() const {return activeCommandType;}
const Mouse3d *getMouse3d() const {return &mouse3d;}
const Display *getDisplay() const {return &display;}
const Selection *getSelection() const {return &selection;}