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:
Misa
2020-04-08 23:34:26 -07:00
committed by Ethan Lee
parent 2f1c400c9a
commit abfae6b4d7
13 changed files with 213 additions and 213 deletions

View File

@@ -36,7 +36,7 @@ public:
void changecustomcollect(int t, int s);
void changeflag(int t, int s);
void changeflag(int t, bool s);
void fatal_top()
{
@@ -194,7 +194,7 @@ public:
std::vector<blockclass> blocks;
std::vector<int> flags;
std::vector<bool> flags;
std::vector<int> collect;
std::vector<int> customcollect;