mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 01:29:43 +01: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:
parent
e439949d7d
commit
1e460721bb
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -892,7 +892,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (rx == 119 && ry == 108) {
|
||||
if (rx == 119 && ry == 108 && !custommode) {
|
||||
background = 5;
|
||||
dwgfx.rcol = 3;
|
||||
warpx = true;
|
||||
|
|
Loading…
Reference in a new issue