Remove game.door_left/right/up/down variables

These don't do anything, and in fact are actively harmful by disabling
room transitions if your roomx/roomy is glitched.
This commit is contained in:
Misa
2021-12-17 19:43:29 -08:00
parent a345cf93b8
commit 1924ca53ac
3 changed files with 11 additions and 20 deletions

View File

@@ -956,11 +956,6 @@ void mapclass::gotoroom(int rx, int ry)
}
}
game.door_up = rx + ((ry - 1) * 100);
game.door_down = rx + ((ry + 1) * 100);
game.door_right = rx + 1 + (ry * 100);
game.door_left = rx -1 + (ry * 100);
if (rx < game.roomx)
{
roomchangedir = 0;