mirror of
https://github.com/glest/glest-source.git
synced 2025-08-17 21:51:17 +02:00
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:
@@ -3448,9 +3448,9 @@ bool Game::getPaused()
|
|||||||
if(popupMenu.getVisible() == true || popupMenuSwitchTeams.getVisible() == true){
|
if(popupMenu.getVisible() == true || popupMenuSwitchTeams.getVisible() == true){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if(mainMessageBox.getEnabled() == true || errorMessageBox.getEnabled() == true){
|
// if(mainMessageBox.getEnabled() == true || errorMessageBox.getEnabled() == true){
|
||||||
return true;
|
// return true;
|
||||||
}
|
// }
|
||||||
if(currentUIState != NULL) {
|
if(currentUIState != NULL) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@@ -162,7 +162,6 @@ public:
|
|||||||
Texture2D *getHudTexture() const {return hudTexture;}
|
Texture2D *getHudTexture() const {return hudTexture;}
|
||||||
void setHudTexture(Texture2D* value) { hudTexture = value;}
|
void setHudTexture(Texture2D* value) { hudTexture = value;}
|
||||||
|
|
||||||
const CommandType *getActiveCommandType() const {return activeCommandType;}
|
|
||||||
const Mouse3d *getMouse3d() const {return &mouse3d;}
|
const Mouse3d *getMouse3d() const {return &mouse3d;}
|
||||||
const Display *getDisplay() const {return &display;}
|
const Display *getDisplay() const {return &display;}
|
||||||
const Selection *getSelection() const {return &selection;}
|
const Selection *getSelection() const {return &selection;}
|
||||||
|
Reference in New Issue
Block a user