mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 09:39:43 +01:00
Draw entities backwards in towermode like non-towermode entities
This fixes a bug where the player was going behind checkpoints in towers and it looked very weird and cursed.
This commit is contained in:
parent
a08e731a39
commit
d61d4f6120
1 changed files with 1 additions and 1 deletions
|
@ -2477,7 +2477,7 @@ void Graphics::drawtowerentities( mapclass& map, entityclass& obj, UtilityClass&
|
|||
point tpoint;
|
||||
SDL_Rect trect;
|
||||
|
||||
for (int i = 0; i < obj.nentity; i++)
|
||||
for (int i = obj.nentity - 1; i >= 0; i--)
|
||||
{
|
||||
if (!obj.entities[i].invis && obj.entities[i].active)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue