mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user