Change gamestate ints to their enum names

This is to make it easier to read, so I don't have to reference Enums.h
if I want to know what they are referring to.
This commit is contained in:
Misa authored and Ethan Lee committed 2020-04-17 15:41:48 -04:00
1 parent 637a9d5665
commit 4d9c834a13
5 files changed
+11 -11

No files matched your search

+2 -2
View File
@@ -69,7 +69,7 @@ void gamecompletelogic()
graphics.showcutscenebars = false;
graphics.cutscenebarspos = 0;
//Return to game
game.gamestate = 7;
game.gamestate = GAMECOMPLETE2;
graphics.fademode = 4;
}
}
@@ -106,7 +106,7 @@ void gamecompletelogic2()
music.currentsong=tmp;
//Return to game
map.colstate = 10;
game.gamestate = 1;
game.gamestate = TITLEMODE;
graphics.fademode = 4;
music.playef(18);
game.createmenu(Menu::gamecompletecontinue);