aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2005-10-29 03:14:18 +0000
committerTravis Howell2005-10-29 03:14:18 +0000
commit04e3dafcdbb5ab474a9d319ed706d5968b091ee4 (patch)
tree88e1e1618154c53c812bdc668f45c9cadf9b723e
parente90ba2e929b48abe735057a8d36b594ec1810ea2 (diff)
downloadscummvm-rg350-04e3dafcdbb5ab474a9d319ed706d5968b091ee4.tar.gz
scummvm-rg350-04e3dafcdbb5ab474a9d319ed706d5968b091ee4.tar.bz2
scummvm-rg350-04e3dafcdbb5ab474a9d319ed706d5968b091ee4.zip
Reset when not used.
svn-id: r19358
-rw-r--r--scumm/akos.cpp1
1 files changed, 1 insertions, 0 deletions
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);