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

@@ -2028,7 +2028,7 @@ void maprender()
{
for (int i = 0; i < map.numshinytrinkets; i++)
{
if (obj.collect[i] == 0)
if (!obj.collect[i])
{
int temp = 1086;
if (graphics.flipmode) temp += 3;
@@ -2839,7 +2839,7 @@ void teleporterrender()
{
for (int i = 0; i < map.numshinytrinkets; i++)
{
if (obj.collect[i] == 0)
if (!obj.collect[i])
{
temp = 1086;
if (graphics.flipmode) temp += 3;