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();
|
if (gamestate == GS_LEVEL)
|
||||||
|
{
|
||||||
// Always move the camera.
|
// Move the camera during levels.
|
||||||
P_RunChaseCameras();
|
K_UpdateDirector();
|
||||||
|
P_RunChaseCameras();
|
||||||
LUA_HOOK(PostThinkFrame);
|
}
|
||||||
|
|
||||||
if (run)
|
if (run)
|
||||||
{
|
{
|
||||||
|
LUA_HOOK(PostThinkFrame);
|
||||||
|
|
||||||
R_UpdateLevelInterpolators();
|
R_UpdateLevelInterpolators();
|
||||||
|
|
||||||
// Hack: ensure newview is assigned every tic.
|
// Hack: ensure newview is assigned every tic.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue