Movement from starfield effect does only affect objects less four pixels wide.

This commit is contained in:
Christian Speckner 2016-12-21 21:54:40 +01:00
parent 44acd10973
commit 0d37bbe132
2 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ void Ball::tick(bool isReceivingMclock)
myRenderCounter = Count::renderCounterOffset;
uInt8 starfieldDelta = (myCounter + 160 - myLastMovementTick) % 4;
if (starfieldEffect && starfieldDelta == 3) myRenderCounter++;
if (starfieldEffect && starfieldDelta == 3 && myWidth < 4) myRenderCounter++;
switch (starfieldDelta) {
case 3:

View File

@ -154,7 +154,7 @@ void Missile::tick(bool isReceivingMclock)
myRenderCounter = Count::renderCounterOffset;
uInt8 starfieldDelta = (myCounter + 160 - myLastMovementTick) % 4;
if (starfieldEffect && starfieldDelta == 3) myRenderCounter++;
if (starfieldEffect && starfieldDelta == 3 && myWidth < 4) myRenderCounter++;
switch (starfieldDelta) {
case 3: