Move roomchangedir off of Game

This is a temporary variable that doesn't need to be on Game. It is
guaranteed to be initialized every time mapclass::gotoroom() gets
called, so it's safe to move it off.
This commit is contained in:
Misa
2021-04-16 23:08:27 -07:00
committed by Misa Elizabeth Kai
parent 48cddf57a6
commit 382b83a54d
2 changed files with 6 additions and 4 deletions

View File

@@ -215,7 +215,7 @@ public:
int door_right;
int door_up;
int door_down;
int roomx, roomy, roomchangedir;
int roomx, roomy;
int prevroomx, prevroomy;
int savex, savey, saverx, savery;