mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- 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...
This commit is contained in:
parent
c342594691
commit
042795612e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue