protected void SetActorRedrawFlags()
{
// Redraw all actors if a full redraw was requested.
// Also redraw all actors in COMI (see bug #1066329 for details).
if (_fullRedraw || _game.Version == 8)
{
for (int j = 1; j < Actors.Length; j++)
{
Actors[j].NeedRedraw = true;
}
}
else
{
for (int i = 0; i < Gdi.NumStrips; i++)
{
int strip = _screenStartStrip + i;
if (Gdi.TestGfxAnyUsageBits(strip))
{
for (int j = 1; j < Actors.Length; j++)
{
if (Gdi.TestGfxUsageBit(strip, j) && Gdi.TestGfxOtherUsageBits(strip, j))
{
Actors[j].NeedRedraw = true;
}
}
}
}
}
}