Fix RESM during draw counter decode.

This commit is contained in:
Christian Speckner 2017-01-05 21:07:41 +01:00
parent eb1fe88176
commit 14ebb9772a
1 changed files with 3 additions and 0 deletions

View File

@ -70,6 +70,9 @@ void Missile::hmm(uInt8 value)
void Missile::resm(uInt8 counter)
{
myCounter = counter;
if (myIsRendering && myRenderCounter < 0)
myRenderCounter = Count::renderCounterOffset + (counter - 157);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -