mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix stupid bug in r7409
git-svn-id: https://svn.eduke32.com/eduke32@7461 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
af3fb71b19
commit
b62fa1fa5c
1 changed files with 2 additions and 1 deletions
|
@ -487,7 +487,8 @@ int32_t A_MoveSpriteClipdist(int32_t spriteNum, vec3_t const * const change, uin
|
|||
// Handle horizontal movement first.
|
||||
|
||||
int returnValue;
|
||||
int const diffZ = spriteheightofs(spriteNum, NULL, 0);
|
||||
int32_t diffZ;
|
||||
spriteheightofs(spriteNum, &diffZ, 0);
|
||||
int newZ = pSprite->z - diffZ;
|
||||
|
||||
pSprite->z -= diffZ >> 1;
|
||||
|
|
Loading…
Reference in a new issue