mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-09 11:20:56 +00:00
GRIFFON: Fix uninitialized variables (game crash)
This commit is contained in:
parent
c8dd272de8
commit
98e53ece57
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user