diff options
author | Filippos Karapetis | 2013-06-26 12:40:54 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-06-26 12:42:10 +0300 |
commit | 3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8 (patch) | |
tree | 0334907c1000feb29a908067e8f274f8ced143f8 /engines/neverhood/neverhood.h | |
parent | e26fb8e7d239052d9645aa0bfb75500ddc3aa132 (diff) | |
download | scummvm-rg350-3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8.tar.gz scummvm-rg350-3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8.tar.bz2 scummvm-rg350-3d373281b440d5d139fbb01ef1ffa0ad0a76b3e8.zip |
NEVERHOOD: Stop sound updates while the main menu is active
Diffstat (limited to 'engines/neverhood/neverhood.h')
-rw-r--r-- | engines/neverhood/neverhood.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/neverhood/neverhood.h b/engines/neverhood/neverhood.h index 18f2cc9f64..39bc9cef2c 100644 --- a/engines/neverhood/neverhood.h +++ b/engines/neverhood/neverhood.h @@ -134,7 +134,10 @@ public: int16 getMouseY() const { return _mouseY; } NPoint getMousePos(); -public: + void toggleSoundUpdate(bool state) { _updateSound = state; } + +private: + bool _updateSound; }; |