mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +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:
@@ -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