diff options
author | Strangerke | 2019-10-25 08:41:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-11-13 22:07:08 +0100 |
commit | 98e53ece57b9d22fd1029e45a498625266206e6c (patch) | |
tree | 48da4598d0f466e2e542e8ffe10db0344804fd80 /engines/griffon | |
parent | c8dd272de836436011cb2b27b86dce1e8abc3807 (diff) | |
download | scummvm-rg350-98e53ece57b9d22fd1029e45a498625266206e6c.tar.gz scummvm-rg350-98e53ece57b9d22fd1029e45a498625266206e6c.tar.bz2 scummvm-rg350-98e53ece57b9d22fd1029e45a498625266206e6c.zip |
GRIFFON: Fix uninitialized variables (game crash)
Diffstat (limited to 'engines/griffon')
-rw-r--r-- | engines/griffon/griffon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/griffon/griffon.cpp b/engines/griffon/griffon.cpp index 3fcd4e456a..03cf396234 100644 --- a/engines/griffon/griffon.cpp +++ b/engines/griffon/griffon.cpp @@ -58,6 +58,11 @@ GriffonEngine::GriffonEngine(OSystem *syst) : Engine(syst) { _objectInfo[i][j] = 0; } + for (int i = 0; i < 256; ++i) { + _objectFrame[i][0] = 0; + _objectFrame[i][1] = 0; + } + // Synchronize the sound settings from ScummVM syncSoundSettings(); config_load(&config); |