add: else if (control->TOrig == 0) { ColorChange = TRUE; }
context: xform_PLUT_step (SIZE TDelta){	XFORM_CONTROL *control;	COLORMAPPTR ColorMapPtr;	int i;	if (!XFormControl.XFormsPending)		return;	control = &XFormControl.TaskControl[XFormControl.XFormCurrent];	ColorMapPtr = control->CMapPtr;	if (TDelta > control->TTotal)		TDelta = control->TTotal;	if (_varPLUTs && control->TOrig != 0)	{#define XFORM_SCALE 0x10000		UBYTE *pCurCMap, *pOldCMap, *pNewCMap;		int frac;		pCurCMap = GET_VAR_PLUT (*ColorMapPtr);		pOldCMap = control->OldCMap;		pNewCMap = (UBYTE*)ColorMapPtr + 2;		frac = (int)(control->TOrig - control->TTotal) * XFORM_SCALE				/ control->TOrig;		for (i = 0; i < PLUT_BYTE_SIZE; i++)		{			*pCurCMap = (UBYTE)(*pOldCMap + ((int)*pNewCMap - *pOldCMap)						* frac / XFORM_SCALE);			pOldCMap++;			pCurCMap++;			pNewCMap++;		}		ColorChange = TRUE;	}	control->TTotal -= TDelta;	if (!control->TTotal)	{		xform_complete ();	}}