Handle immediate color xforms correctly for ambient_anim_task (fix for bug #772)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1934 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -616,6 +616,10 @@ xform_PLUT_step (SIZE TDelta)
|
|||||||
}
|
}
|
||||||
ColorChange = TRUE;
|
ColorChange = TRUE;
|
||||||
}
|
}
|
||||||
|
else if (control->TOrig == 0)
|
||||||
|
{ // asked for immediate xform
|
||||||
|
ColorChange = TRUE;
|
||||||
|
}
|
||||||
control->TTotal -= TDelta;
|
control->TTotal -= TDelta;
|
||||||
if (!control->TTotal)
|
if (!control->TTotal)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user