mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Fix onground/onroof taking 1 frame after landing on vertical plat
So, 77a636509b
fixed the fact that you
only got 1 frame of onground/onroof when standing on a vertical moving
platform, but removing those lines entirely means that it takes 1 frame
before the onground/onroof of 2 actually takes effect. This desyncs my
Nova TAS, so it seems important to fix.
This commit is contained in:
parent
77a636509b
commit
b4a0acc01d
1 changed files with 2 additions and 0 deletions
|
@ -4473,11 +4473,13 @@ void entityclass::movingplatformfix( int t, int j )
|
|||
{
|
||||
entities[j].yp = entities[t].yp + entities[t].h;
|
||||
entities[j].vy = 0;
|
||||
entities[j].onroof = 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
entities[j].yp = entities[t].yp - entities[j].h-entities[j].cy;
|
||||
entities[j].vy = 0;
|
||||
entities[j].onground = 2;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue