1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-22 17:49:43 +01:00

Fix Prize for the Reckless moving platform kludge happening in customs

If you died in (11,7) and a moving platform was to the left of the line
x=152, even if it was moving vertically it would get snapped to x=152,
in custom levels.

Surprised nobody has ran into this before (although people have ran into
the other kludge, which is placing tile 59 at [18,9] if you're in a room
on either the line x=11 or y=7).
This commit is contained in:
Info Teddy 2020-02-03 18:53:30 -08:00 committed by Ethan Lee
parent b32c91a6e9
commit a08e731a39

View file

@ -576,7 +576,7 @@ void gamelogic(Graphics& dwgfx, Game& game, entityclass& obj, musicclass& music
{ {
for (int i = 0; i < obj.nentity; i++) for (int i = 0; i < obj.nentity; i++)
{ {
if (game.roomx == 111 && game.roomy == 107) if (game.roomx == 111 && game.roomy == 107 && !map.custommode)
{ {
if (obj.entities[i].type == 1) if (obj.entities[i].type == 1)
{ {