Realised I forgot to do this. Without this commit, the drawangle update stuff is useless :V

This commit is contained in:
toaster 2019-06-22 17:23:04 +01:00
parent 02e315a4ee
commit 29c4fa306a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}