GRIFFON: Fix uninitialized variables (game crash)

This commit is contained in:
Strangerke 2019-10-25 08:41:40 +02:00 committed by Eugene Sandulenko
parent c8dd272de8
commit 98e53ece57

View File

@ -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);