1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-10 19:09:45 +01:00

Revert "Fix glitchy y-position when colliding with a conveyor"

This reverts commit 942217f871.

This fix (of a regression of a fix) has a regression where immediately
flipping off of horizontally-moving platforms or conveyors will no
longer provide you with a "boost" given certain vertical pixel
alignments.

The regression that this fix fixed will be fixed another way.

Fixes #606.
This commit is contained in:
Misa 2021-02-01 16:09:13 -08:00 committed by Ethan Lee
parent b5ef10cae5
commit a406b99f4b

View file

@ -826,7 +826,6 @@ void gamelogic()
if (INBOUNDS_VEC(i, obj.entities) && j > -1000)
{
obj.entities[i].newxp = obj.entities[i].xp + j;
obj.entities[i].newyp = obj.entities[i].yp;
obj.entitymapcollision(i);
}
else
@ -835,7 +834,6 @@ void gamelogic()
if (INBOUNDS_VEC(i, obj.entities) && j > -1000)
{
obj.entities[i].newxp = obj.entities[i].xp + j;
obj.entities[i].newyp = obj.entities[i].yp;
obj.entitymapcollision(i);
}
}