mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 06:19:25 +03:00
Declare obj.flags a vector of bools instead of ints
It's treated like a bool anyway, so might as well make it one. This also necessitates updating every single instance where it or an element inside it is used, too.
This commit is contained in:
1 parent
2f1c400c9a
commit
abfae6b4d7
13 files changed
+213
-213
No files matched your search
@@ -1060,7 +1060,7 @@ void mapclass::gotoroom(int rx, int ry)
|
||||
//textbox thingy. if tag five is not set when changing room, reset the game state. (tag 5 is set when you get back to the ship)
|
||||
if(!game.intimetrial && !custommode)
|
||||
{
|
||||
if (obj.flags[5] == 0 && !finalmode)
|
||||
if (!obj.flags[5] && !finalmode)
|
||||
{
|
||||
game.state = 0;
|
||||
if (game.roomx == 113 && game.roomy == 104)
|
||||
|
||||
Reference in new issue
Block a user