mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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];
|
PLAYER* pPlayer = &gPlayer[myconnectindex];
|
||||||
|
|
||||||
pPlayer->actor->opos.XY() = pPlayer->actor->spr.pos.XY() = { x , y };
|
pPlayer->actor->spr.pos = { x, y, z };
|
||||||
pPlayer->ozView = pPlayer->zView = z;
|
playerResetInertia(pPlayer);
|
||||||
|
|
||||||
if (ang != DAngle::fromDeg(INT_MIN))
|
if (ang != DAngle::fromDeg(INT_MIN))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue