Reset when not used.

svn-id: r19358
This commit is contained in:
Travis Howell 2005-10-29 03:14:18 +00:00
parent e90ba2e929
commit 04e3dafcdb

View File

@ -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);