mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
- Exhumed: Ensure ox/oy/oz sprite positions are set when warping to coordinates.
This commit is contained in:
parent
e7ab4cd176
commit
e66960d9fc
1 changed files with 3 additions and 3 deletions
|
@ -39,9 +39,9 @@ void GameInterface::WarpToCoords(int x, int y, int z, int ang, int horz)
|
|||
Player *nPlayer = &PlayerList[nLocalPlayer];
|
||||
spritetype *pSprite = &sprite[nPlayer->nSprite];
|
||||
|
||||
pSprite->x = x;
|
||||
pSprite->y = y;
|
||||
pSprite->z = z;
|
||||
pSprite->ox = pSprite->x = x;
|
||||
pSprite->oy = pSprite->y = y;
|
||||
pSprite->oz = pSprite->z = z;
|
||||
|
||||
if (ang != INT_MIN)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue