1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-18 10:38:31 +02:00

Fix hardcoded (19,8) all-sides warp happening in custom levels

(19,8) is hardcoded to warp on all-sides no matter what. This is fine,
except for the fact that it was doing this in custom levels, too, even
despite the fact that the warp background and color would be overridden
anyway. The only workaround was to add a warp line to the room in custom
levels. I've added a check for custommode so that this won't happen.
This commit is contained in:
Info Teddy 2020-02-02 02:37:23 -08:00 committed by Ethan Lee
parent e439949d7d
commit 1e460721bb
2 changed files with 2 additions and 2 deletions

View File

@ -1304,7 +1304,7 @@ void mapclass::loadlevel(int rx, int ry, Graphics& dwgfx, Game& game, entityclas
}
}
if (rx == 119 && ry == 108)
if (rx == 119 && ry == 108 && !custommode)
{
background = 5;
dwgfx.rcol = 3;

View File

@ -892,7 +892,7 @@
}
}
if (rx == 119 && ry == 108) {
if (rx == 119 && ry == 108 && !custommode) {
background = 5;
dwgfx.rcol = 3;
warpx = true;