Make obj.customcollect a vector of bools

It's already treated as a vector of bools, so might as well formally
declare it as that.
This commit is contained in:
Misa
2020-04-08 23:58:03 -07:00
committed by Ethan Lee
parent 8507bdc65d
commit 17a64aee7a
4 changed files with 9 additions and 9 deletions

View File

@@ -1469,7 +1469,7 @@ void scriptclass::run()
for (i = 0; i < 100; i++)
{
obj.collect[i] = false;
obj.customcollect[i] = 0;
obj.customcollect[i] = false;
}
game.deathcounts = 0;
game.advancetext = false;
@@ -3561,7 +3561,7 @@ void scriptclass::hardreset()
for (i = 0; i < 100; i++)
{
obj.collect[i] = false;
obj.customcollect[i] = 0;
obj.customcollect[i] = false;
}
if (obj.getplayer() > -1){