diff options
author | Johannes Schickel | 2008-05-10 19:20:38 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-10 19:20:38 +0000 |
commit | 7c7e9b831fc8b250942170bc12cd9c54602ded48 (patch) | |
tree | d5f7eb71f396a921f4f72a1473c051afaa7b7a64 /engines/kyra/gui_v1.cpp | |
parent | f930fff0d12c55e63140f45f4aee2c933f59aa63 (diff) | |
download | scummvm-rg350-7c7e9b831fc8b250942170bc12cd9c54602ded48.tar.gz scummvm-rg350-7c7e9b831fc8b250942170bc12cd9c54602ded48.tar.bz2 scummvm-rg350-7c7e9b831fc8b250942170bc12cd9c54602ded48.zip |
Implemented pausing of timers, this should fix some minor glitches.
svn-id: r31985
Diffstat (limited to 'engines/kyra/gui_v1.cpp')
-rw-r--r-- | engines/kyra/gui_v1.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/gui_v1.cpp b/engines/kyra/gui_v1.cpp index 2d2c4f1219..0c66064409 100644 --- a/engines/kyra/gui_v1.cpp +++ b/engines/kyra/gui_v1.cpp @@ -30,6 +30,7 @@ #include "kyra/animator_v1.h" #include "kyra/sound.h" #include "kyra/gui_v1.h" +#include "kyra/timer.h" #include "common/config-manager.h" #include "common/savefile.h" @@ -406,6 +407,8 @@ void GUI_v1::setGUILabels() { } int GUI_v1::buttonMenuCallback(Button *caller) { + PauseTimer pause(*_vm->_timer); + _displayMenu = true; assert(_vm->_guiStrings); |