1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Remove now-unneeded kludge for finalmode entity colors

Previously, with the wrong loop order, this kludge needed to exist so
entities in finalmode didn't have wrong colors for 1 frame when entering
a room. But now the loop order has been fixed, and so this kludge is no
longer needed.
This commit is contained in:
Misa 2021-03-18 21:38:30 -07:00 committed by Ethan Lee
parent 287061c768
commit 02560ca6e5

View file

@ -1408,14 +1408,6 @@ void mapclass::loadlevel(int rx, int ry)
graphics.rcol = 6; graphics.rcol = 6;
changefinalcol(final_mapcol); changefinalcol(final_mapcol);
for (size_t i = 0; i < obj.entities.size(); i++)
{
if (obj.entities[i].type == 1 || obj.entities[i].type == 2)
{
//Fix 1-frame glitch
obj.entities[i].drawframe = obj.entities[i].tile;
}
}
break; break;
} }
case 7: //Final Level, Tower 1 case 7: //Final Level, Tower 1