diff options
author | Travis Howell | 2009-04-20 05:19:42 +0000 |
---|---|---|
committer | Travis Howell | 2009-04-20 05:19:42 +0000 |
commit | e15dd070f8bf38c9a2d209f3f554d4db689b9f91 (patch) | |
tree | 5b9837198d2fa9aedd42ead194b5887518c15444 /engines/agos/event.cpp | |
parent | 56e50ed97880d8c342a03afd7b9c678601d0935f (diff) | |
download | scummvm-rg350-e15dd070f8bf38c9a2d209f3f554d4db689b9f91.tar.gz scummvm-rg350-e15dd070f8bf38c9a2d209f3f554d4db689b9f91.tar.bz2 scummvm-rg350-e15dd070f8bf38c9a2d209f3f554d4db689b9f91.zip |
Fix sound effects regression in Waxworks.
svn-id: r40023
Diffstat (limited to 'engines/agos/event.cpp')
-rw-r--r-- | engines/agos/event.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp index bc07320563..4836ac8035 100644 --- a/engines/agos/event.cpp +++ b/engines/agos/event.cpp @@ -285,6 +285,7 @@ void AGOSEngine::animateEvent(const byte *codePtr, uint16 curZoneNum, uint16 cur _curVgaFile1 = vpe->vgaFile1; _curVgaFile2 = vpe->vgaFile2; _curSfxFile = vpe->sfxFile; + _curSfxFileSize = vpe->sfxFileEnd - vpe->sfxFile; _vcPtr = codePtr; |