From e15dd070f8bf38c9a2d209f3f554d4db689b9f91 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 20 Apr 2009 05:19:42 +0000 Subject: Fix sound effects regression in Waxworks. svn-id: r40023 --- engines/agos/event.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/agos/event.cpp') 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; -- cgit v1.2.3