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 committed 2021-12-17 19:43:29 -08:00
1 parent a345cf93b8
commit 1924ca53ac
3 files changed
+11 -20

No files matched your search

-5
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;