mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 09:28:15 +03: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:
@@ -1408,14 +1408,6 @@ void mapclass::loadlevel(int rx, int ry)
|
||||
|
||||
graphics.rcol = 6;
|
||||
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;
|
||||
}
|
||||
case 7: //Final Level, Tower 1
|
||||
|
||||
Reference in New Issue
Block a user