Change obj.collect into a vector of bools

It's already treated like a bunch of bools anyway, so might as well just
formalize it.
This commit is contained in:
Misa
2020-04-08 23:56:36 -07:00
committed by Ethan Lee
parent 7493129044
commit 8507bdc65d
5 changed files with 19 additions and 19 deletions

View File

@@ -1468,7 +1468,7 @@ void scriptclass::run()
for (i = 0; i < 100; i++)
{
obj.collect[i] = 0;
obj.collect[i] = false;
obj.customcollect[i] = 0;
}
game.deathcounts = 0;
@@ -1877,7 +1877,7 @@ void scriptclass::run()
music.haltdasmusik();
music.playef(3);
obj.collect[ss_toi(words[1])] = 1;
obj.collect[ss_toi(words[1])] = true;
graphics.textboxremovefast();
@@ -3560,7 +3560,7 @@ void scriptclass::hardreset()
for (i = 0; i < 100; i++)
{
obj.collect[i] = 0;
obj.collect[i] = false;
obj.customcollect[i] = 0;
}