mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
Update p_tick.c, got rid of an useless angle change function
This commit is contained in:
parent
2832586274
commit
aea35171c2
1 changed files with 4 additions and 4 deletions
|
@ -644,10 +644,10 @@ void P_Ticker(boolean run)
|
|||
G_WriteDemoTiccmd(&players[consoleplayer].cmd, 0);
|
||||
if (demoplayback)
|
||||
{
|
||||
G_ReadDemoTiccmd(&players[consoleplayer].cmd, 0);
|
||||
P_SetPlayerAngle(&players[consoleplayer], players[consoleplayer].mo->angle);
|
||||
P_ForceLocalAngle(&players[consoleplayer], players[consoleplayer].mo->angle);
|
||||
localaiming = players[consoleplayer].aiming;
|
||||
player_t* p = &players[consoleplayer];
|
||||
G_ReadDemoTiccmd(&p->cmd, 0);
|
||||
P_ForceLocalAngle(p, p->mo->angle);
|
||||
localaiming = p->aiming;
|
||||
}
|
||||
|
||||
ps_lua_mobjhooks = 0;
|
||||
|
|
Loading…
Reference in a new issue