mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03:00
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:
@@ -1795,7 +1795,7 @@ void maprender()
|
||||
{
|
||||
graphics.Print(103, 220, "GRAV", 64, 64, 64);
|
||||
}
|
||||
else if (obj.flags[67] == 1 && !map.custommode)
|
||||
else if (obj.flags[67] && !map.custommode)
|
||||
{
|
||||
graphics.Print(103, 220, "SHIP", 64,64,64);
|
||||
}
|
||||
@@ -2113,7 +2113,7 @@ void maprender()
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (obj.flags[67] == 1 && !map.custommode)
|
||||
else if (obj.flags[67] && !map.custommode)
|
||||
{
|
||||
graphics.Print(30, 220, "MAP", 64,64,64);
|
||||
graphics.Print(103-8, 220, "[SHIP]", 196, 196, 255 - help.glow);
|
||||
@@ -2234,7 +2234,7 @@ void maprender()
|
||||
{
|
||||
graphics.Print(103, 220, "GRAV", 64, 64, 64);
|
||||
}
|
||||
else if (obj.flags[67] == 1 && !map.custommode)
|
||||
else if (obj.flags[67] && !map.custommode)
|
||||
{
|
||||
graphics.Print(103, 220, "SHIP", 64,64,64);
|
||||
}
|
||||
@@ -2304,7 +2304,7 @@ void maprender()
|
||||
{
|
||||
graphics.Print(103, 220, "GRAV", 64, 64, 64);
|
||||
}
|
||||
else if (obj.flags[67] == 1 && !map.custommode)
|
||||
else if (obj.flags[67] && !map.custommode)
|
||||
{
|
||||
graphics.Print(103, 220, "SHIP", 64,64,64);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user