diff --git a/source/games/exhumed/src/player.cpp b/source/games/exhumed/src/player.cpp index 047a6cd75..3a17964f0 100644 --- a/source/games/exhumed/src/player.cpp +++ b/source/games/exhumed/src/player.cpp @@ -910,7 +910,7 @@ void AIPlayer::Tick(RunListEvent* ev) short var_54 = pPlayerSprite->sectnum; - pushmove_old(&pPlayerSprite->x, &pPlayerSprite->y, &pPlayerSprite->z, &var_54, pPlayerSprite->clipdist << 2, 5120, -5120, CLIPMASK0); + pushmove(&pPlayerSprite->pos, &var_54, pPlayerSprite->clipdist << 2, 5120, -5120, CLIPMASK0); if (var_54 != pPlayerSprite->sectnum) { ChangeActorSect(pPlayerActor, var_54); } diff --git a/source/games/exhumed/src/set.cpp b/source/games/exhumed/src/set.cpp index ece70e365..7709c4e1f 100644 --- a/source/games/exhumed/src/set.cpp +++ b/source/games/exhumed/src/set.cpp @@ -283,7 +283,7 @@ void AISet::Tick(RunListEvent* ev) auto nMov = MoveCreature(pActor); - pushmove_old(&pSprite->x, &pSprite->y, &pSprite->z, &pSprite->sectnum, pSprite->clipdist << 2, 5120, -5120, CLIPMASK0); + pushmove(&pSprite->pos, &pSprite->sectnum, pSprite->clipdist << 2, 5120, -5120, CLIPMASK0); if (pSprite->zvel > 4000) {