Fix small p_tick.c mistakes
This commit is contained in:
parent
0d6fa2178c
commit
259bc5dd97
1 changed files with 8 additions and 6 deletions
14
src/p_tick.c
14
src/p_tick.c
|
|
@ -905,15 +905,17 @@ void P_Ticker(boolean run)
|
|||
}
|
||||
}
|
||||
|
||||
K_UpdateDirector();
|
||||
|
||||
// Always move the camera.
|
||||
P_RunChaseCameras();
|
||||
|
||||
LUA_HOOK(PostThinkFrame);
|
||||
if (gamestate == GS_LEVEL)
|
||||
{
|
||||
// Move the camera during levels.
|
||||
K_UpdateDirector();
|
||||
P_RunChaseCameras();
|
||||
}
|
||||
|
||||
if (run)
|
||||
{
|
||||
LUA_HOOK(PostThinkFrame);
|
||||
|
||||
R_UpdateLevelInterpolators();
|
||||
|
||||
// Hack: ensure newview is assigned every tic.
|
||||
|
|
|
|||
Loading…
Reference in a new issue