mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Tweak previous commit so clipmove takes precedence over getzrange
git-svn-id: https://svn.eduke32.com/eduke32@7795 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
df609ccfbc
commit
6b4d64bde5
1 changed files with 4 additions and 1 deletions
|
@ -563,7 +563,10 @@ int32_t A_MoveSpriteClipdist(int32_t spriteNum, vec3_t const * const change, uin
|
|||
|
||||
// Update sprite's z positions and (for TROR) maybe the sector number.
|
||||
if (doZUpdate == 2)
|
||||
returnValue = change->z < 0 ? ceilhit : florhit;
|
||||
{
|
||||
if (returnValue == 0)
|
||||
returnValue = change->z < 0 ? ceilhit : florhit;
|
||||
}
|
||||
else if (doZUpdate)
|
||||
{
|
||||
pSprite->z = newZ;
|
||||
|
|
Loading…
Reference in a new issue