mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 03:11:03 +00:00
Realised I forgot to do this. Without this commit, the drawangle update stuff is useless :V
This commit is contained in:
parent
02e315a4ee
commit
29c4fa306a
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,6 @@ boolean P_Teleport(mobj_t *thing, fixed_t x, fixed_t y, fixed_t z, angle_t angle
|
|||
if (!P_TeleportMove(thing, x, y, z))
|
||||
return false;
|
||||
|
||||
thing->angle = angle;
|
||||
|
||||
if (!dontstopmove)
|
||||
thing->momx = thing->momy = thing->momz = 0;
|
||||
else // Change speed to match direction
|
||||
|
@ -179,5 +177,7 @@ boolean P_Teleport(mobj_t *thing, fixed_t x, fixed_t y, fixed_t z, angle_t angle
|
|||
P_FlashPal(thing->player, PAL_MIXUP, 10);
|
||||
}
|
||||
|
||||
thing->angle = angle;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue