mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-24 14:29:20 +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
@@ -1415,7 +1415,7 @@ std::vector<std::string> otherlevelclass::loadlevel(int rx, int ry)
|
||||
obj.createentity(136, 80, 22, 18); // (shiny trinket)
|
||||
obj.createentity(136, 32, 22, 19); // (shiny trinket)
|
||||
|
||||
if(!game.nocutscenes && obj.flags[70]==0)
|
||||
if(!game.nocutscenes && !obj.flags[70])
|
||||
{
|
||||
obj.createblock(1, 304, 0, 16, 240, 48);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user