mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09: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:
parent
287061c768
commit
02560ca6e5
1 changed files with 0 additions and 8 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue