aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_hof.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2008-05-10 19:20:38 +0000
committerJohannes Schickel2008-05-10 19:20:38 +0000
commit7c7e9b831fc8b250942170bc12cd9c54602ded48 (patch)
treed5f7eb71f396a921f4f72a1473c051afaa7b7a64 /engines/kyra/gui_hof.cpp
parentf930fff0d12c55e63140f45f4aee2c933f59aa63 (diff)
downloadscummvm-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_hof.cpp')
-rw-r--r--engines/kyra/gui_hof.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/gui_hof.cpp b/engines/kyra/gui_hof.cpp
index cc212d28fc..2c333df937 100644
--- a/engines/kyra/gui_hof.cpp
+++ b/engines/kyra/gui_hof.cpp
@@ -666,6 +666,8 @@ int KyraEngine_HoF::cauldronButton(Button *button) {
#pragma mark -
int GUI_HoF::optionsButton(Button *button) {
+ PauseTimer pause(*_vm->_timer);
+
_restartGame = false;
_reloadTemporarySave = false;