rem: int actplut;
add: int actplut = plut;
context: void generateAni(const index_header_t *h, const char *prefix, int plut, FILE *out){	int i;	int transparentPixel = -1;		for (i = 0; i < h->num_frames; i++)	{		frame_info_t* info = h->frames + i;		frame_desc_t* desc = info->desc;		int actplut;				if ((h->flags & GFX_HAS_IMAGES) && (h->flags & GFX_HAS_MASKS))		{			char tempbuf[sizeof("frame -2147483648")];			sprintf(tempbuf, "frame %d", i);			transparentPixel = findTransparentColour(tempbuf, info);			actplut = plut;		}		else if (h->flags & GFX_HAS_MASKS)		{			transparentPixel = 0; // masks always have index 0 transparent			actplut = -1; // no colormap for masks		}		fprintf(out, "%s.%d.%s %d %d %d %d\n",				prefix, (int)INDEX_GET(desc->index),				"png", transparentPixel, actplut,				(int)desc->hotspot.x - info->sx0,				(int)desc->hotspot.y - info->sy0);	}}