mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user