aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2007-07-01 20:16:24 +0000
committerMax Horn2007-07-01 20:16:24 +0000
commita14485da5f1a809a8b49dc8acd4997313769d03d (patch)
tree8c88f441183c2b29a6c686435cc980ca9434c939
parent19bb631e9493ea3586acdef2cd8c13f3aac4f217 (diff)
downloadscummvm-rg350-a14485da5f1a809a8b49dc8acd4997313769d03d.tar.gz
scummvm-rg350-a14485da5f1a809a8b49dc8acd4997313769d03d.tar.bz2
scummvm-rg350-a14485da5f1a809a8b49dc8acd4997313769d03d.zip
Fix for bug #1746112 (SCUMM: Crash when pressing SPACE (Pause))
svn-id: r27836
-rw-r--r--engines/engine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index c5766afd88..f2b7198510 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -54,7 +54,8 @@ Engine::Engine(OSystem *syst)
_eventMan(_system->getEventManager()),
_saveFileMan(_system->getSavefileManager()),
_targetName(ConfMan.getActiveDomainName()),
- _gameDataPath(ConfMan.get("path")) {
+ _gameDataPath(ConfMan.get("path")),
+ _pauseLevel(0) {
g_engine = this;
_autosavePeriod = ConfMan.getInt("autosave_period");