From 04e3dafcdbb5ab474a9d319ed706d5968b091ee4 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 29 Oct 2005 03:14:18 +0000 Subject: Reset when not used. svn-id: r19358 --- scumm/akos.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/scumm/akos.cpp b/scumm/akos.cpp index f625f86e8a..f96436bfcc 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -337,6 +337,7 @@ void AkosRenderer::setCostume(int costume, int shadow) { codec = READ_LE_UINT16(&akhd->codec); akct = _vm->findResourceData(MKID('AKCT'), akos); + xmap = 0; if (shadow) { const uint8 *xmapPtr = _vm->getResourceAddress(rtImage, shadow); assert(xmapPtr); -- cgit v1.2.3