Update p_tick.c, Replacing mobj angle with cmd angleturn

This commit is contained in:
Riku Salminen 2020-11-10 04:31:26 -05:00
parent 7c79f70234
commit 241453056b

View file

@ -642,7 +642,7 @@ void P_Ticker(boolean run)
{ {
player_t* p = &players[consoleplayer]; player_t* p = &players[consoleplayer];
G_ReadDemoTiccmd(&p->cmd, 0); G_ReadDemoTiccmd(&p->cmd, 0);
P_ForceLocalAngle(p, p->mo->angle); P_ForceLocalAngle(p, p->cmd.angleturn << 16);
localaiming = p->aiming; localaiming = p->aiming;
} }