mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-02-03 07:45:31 +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;
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user