From 042795612ea2dcc60b136cf2545bca0bc62f0b09 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 16 Jan 2021 23:42:34 +0100 Subject: [PATCH] - Exhumed: Refined sector movement code so that pickups get always moved even when not touching the floor. ... because it seems to be inevitable that games have to exploit some implementation shortcomings... --- source/games/exhumed/src/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/exhumed/src/object.cpp b/source/games/exhumed/src/object.cpp index 3788df8d1..35e07b854 100644 --- a/source/games/exhumed/src/object.cpp +++ b/source/games/exhumed/src/object.cpp @@ -692,7 +692,7 @@ void MoveSectorSprites(int nSector, int z) while ((nSprite = it.NextIndex()) >= 0) { int z = sprite[nSprite].z; - if (sprite[nSprite].statnum != 200 && z >= minz && z <= maxz) + if ((sprite[nSprite].statnum != 200 && z >= minz && z <= maxz) || sprite[nSprite].statnum >= 900) { sprite[nSprite].z = newz; }