mirror of https://github.com/stella-emu/stella.git
Movement from starfield effect does only affect objects less four pixels wide.
This commit is contained in:
parent
44acd10973
commit
0d37bbe132
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue