diff options
Diffstat (limited to 'engines/scumm/sound.cpp')
-rw-r--r-- | engines/scumm/sound.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index c90b13cfdc..14bf1c34c9 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -1335,7 +1335,8 @@ int ScummEngine::readSoundResource(ResId idx) { } } - warning("Unrecognized base tag 0x%08x in sound %d", basetag, idx); + if (total_size) + warning("Unrecognized base tag 0x%08x in sound %d", basetag, idx); _res->_types[rtSound][idx]._roomoffs = RES_INVALID_OFFSET; return 0; } |