diff --git a/source/games/exhumed/src/osdcmds.cpp b/source/games/exhumed/src/osdcmds.cpp index 91ad52f39..2c2bfbcd7 100644 --- a/source/games/exhumed/src/osdcmds.cpp +++ b/source/games/exhumed/src/osdcmds.cpp @@ -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) {