From 3ae7f7ade3ffef0f9c0c6940b9dbaf039260aa82 Mon Sep 17 00:00:00 2001 From: terminx Date: Fri, 23 Oct 2015 23:00:16 +0000 Subject: [PATCH] Check whether the sprite is a wall, floor, or face sprite when deciding whether to bump it ahead of another entry based on position and owner. git-svn-id: https://svn.eduke32.com/eduke32@5405 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/engine.c | 1 + 1 file changed, 1 insertion(+) diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 2ab4fe36e..ecf7c6727 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -9824,6 +9824,7 @@ killsprite: for (int32_t l=i; lx == tspriteptr[l]->x && tspriteptr[k]->y == tspriteptr[l]->y && + (tspriteptr[k]->cstat & 48) == (tspriteptr[l]->cstat & 48) && tspriteptr[k]->owner < tspriteptr[l]->owner) { swapptr(&tspriteptr[k], &tspriteptr[l]);