mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- Blood: Fix gi->WarpToCoords()
that messed up the Z.
This commit is contained in:
parent
e991116abf
commit
597b291252
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ void GameInterface::WarpToCoords(double x, double y, double z, DAngle ang)
|
|||
{
|
||||
PLAYER* pPlayer = &gPlayer[myconnectindex];
|
||||
|
||||
pPlayer->actor->opos.XY() = pPlayer->actor->spr.pos.XY() = { x , y };
|
||||
pPlayer->ozView = pPlayer->zView = z;
|
||||
pPlayer->actor->spr.pos = { x, y, z };
|
||||
playerResetInertia(pPlayer);
|
||||
|
||||
if (ang != DAngle::fromDeg(INT_MIN))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue