aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/interpreter.cpp
diff options
context:
space:
mode:
authorThierry Crozat2013-10-05 00:24:30 +0100
committerThierry Crozat2013-10-05 00:25:04 +0100
commitcdbee9972aca6da04ff8a1d0b564e8758782f9fb (patch)
tree18b5a3222170f16a559ab7851837131d6e657f50 /engines/sword2/interpreter.cpp
parentf55259e3b103d5aa966b00fb5c574d84a4f399c0 (diff)
downloadscummvm-rg350-cdbee9972aca6da04ff8a1d0b564e8758782f9fb.tar.gz
scummvm-rg350-cdbee9972aca6da04ff8a1d0b564e8758782f9fb.tar.bz2
scummvm-rg350-cdbee9972aca6da04ff8a1d0b564e8758782f9fb.zip
SWORD25: Fix possible error in sound engine when loading a savegame
The error occurred when the save game was saved early in the game before all the sound handles had been used. The unused handles only had the handle type initialised (as kFreeHandle) so all the other fields had random values. After loading the game the sound engine could erroneously try to play one of these sound handle resulting in an error.
Diffstat (limited to 'engines/sword2/interpreter.cpp')
0 files changed, 0 insertions, 0 deletions