diff options
author | Strangerke | 2016-05-16 23:24:02 +0200 |
---|---|---|
committer | Strangerke | 2016-05-16 23:24:02 +0200 |
commit | 06f3dc29731cdfc0521929fb4c20c61e1d2c159d (patch) | |
tree | 7cf9eb996b6dcf60da46bf8528e68a2ca962424b /engines | |
parent | bb35d5063b9d76d940767e0a70fef443877ff8c1 (diff) | |
download | scummvm-rg350-06f3dc29731cdfc0521929fb4c20c61e1d2c159d.tar.gz scummvm-rg350-06f3dc29731cdfc0521929fb4c20c61e1d2c159d.tar.bz2 scummvm-rg350-06f3dc29731cdfc0521929fb4c20c61e1d2c159d.zip |
GNAP: Fix a couple of unintialized variables
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gnap/gnap.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp index 21329fefee..a061be068c 100644 --- a/engines/gnap/gnap.cpp +++ b/engines/gnap/gnap.cpp @@ -97,6 +97,11 @@ GnapEngine::GnapEngine(OSystem *syst, const ADGameDescription *gd) : Engine::syncSoundSettings(); _scene = nullptr; _music = nullptr; + + _wasSavegameLoaded = false; + for (int i = 0; i < kMaxTimers; ++i) + _savedTimers[i] = _timers[i] = 0; + } GnapEngine::~GnapEngine() { |