diff options
author | Travis Howell | 2005-10-29 03:14:18 +0000 |
---|---|---|
committer | Travis Howell | 2005-10-29 03:14:18 +0000 |
commit | 04e3dafcdbb5ab474a9d319ed706d5968b091ee4 (patch) | |
tree | 88e1e1618154c53c812bdc668f45c9cadf9b723e | |
parent | e90ba2e929b48abe735057a8d36b594ec1810ea2 (diff) | |
download | scummvm-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.cpp | 1 |
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); |