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
|
@ -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))
|
if (!P_TeleportMove(thing, x, y, z))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
thing->angle = angle;
|
|
||||||
|
|
||||||
if (!dontstopmove)
|
if (!dontstopmove)
|
||||||
thing->momx = thing->momy = thing->momz = 0;
|
thing->momx = thing->momy = thing->momz = 0;
|
||||||
else // Change speed to match direction
|
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);
|
P_FlashPal(thing->player, PAL_MIXUP, 10);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
thing->angle = angle;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue