diff options
Diffstat (limited to 'scummvm.cpp')
-rw-r--r-- | scummvm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scummvm.cpp b/scummvm.cpp index 48ab2a882a..69d4acdfb0 100644 --- a/scummvm.cpp +++ b/scummvm.cpp @@ -855,7 +855,7 @@ void Scumm::initRoomSubBlocks() { searchptr = roomptr = getResourceAddress(rtRoom, _roomResource); if(_features & GF_SMALL_HEADER) { while( (ptr = findResourceSmall(MKID('LSCR'), searchptr)) != NULL ) { - int id; + int id = 0; ptr += _resourceHeaderSize; /* skip tag & size */ #ifdef DUMP_SCRIPTS do { @@ -870,7 +870,7 @@ void Scumm::initRoomSubBlocks() { } } else { while( (ptr = findResource(MKID('LSCR'), searchptr)) != NULL ) { - int id; + int id = 0; ptr += _resourceHeaderSize; /* skip tag & size */ |