From 4bc6daa489e165ba282af68b8523f7527b841c00 Mon Sep 17 00:00:00 2001 From: Plagman Date: Sun, 31 Dec 2006 06:41:57 +0000 Subject: [PATCH] Sorting is back. git-svn-id: https://svn.eduke32.com/eduke32@440 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/engine.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/polymer/build/src/engine.c b/polymer/build/src/engine.c index 6dd85f7e4..e14a64d8f 100644 --- a/polymer/build/src/engine.c +++ b/polymer/build/src/engine.c @@ -6278,7 +6278,7 @@ else free(indexes); free(depths);*/ - /*pos.x = globalposx; + pos.x = globalposx; pos.y = globalposy; //OSD_Printf("EIN OBSERVER POSITION : x=%i y=%i\n", pos.x, pos.y); @@ -6333,10 +6333,10 @@ else spritesortcnt--; if (tspriteptr[spritesortcnt] != NULL) drawsprite(spritesortcnt); - }*/ + } - while (spritesortcnt > 0) drawsprite(--spritesortcnt); - while (maskwallcnt > 0) drawmaskwall(--maskwallcnt); + //while (spritesortcnt > 0) drawsprite(--spritesortcnt); + //while (maskwallcnt > 0) drawmaskwall(--maskwallcnt); } /* goodalpha */ indrawroomsandmasks = 0;