mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fixed binocular bugs
This commit is contained in:
parent
f51d499e68
commit
4aac07c0c4
1 changed files with 5 additions and 5 deletions
|
@ -224,11 +224,6 @@ GameStatus ControlPhase(bool insideMenu)
|
|||
PlaySoundSources();
|
||||
Sound_UpdateScene();
|
||||
|
||||
UpdateCamera();
|
||||
|
||||
// Post-loop script and event handling.
|
||||
g_GameScript->OnLoop(DELTA_TIME, true);
|
||||
|
||||
// Handle inventory, pause, load, save screens.
|
||||
if (!insideMenu)
|
||||
{
|
||||
|
@ -242,6 +237,11 @@ GameStatus ControlPhase(bool insideMenu)
|
|||
return result;
|
||||
}
|
||||
|
||||
UpdateCamera();
|
||||
|
||||
// Post-loop script and event handling.
|
||||
g_GameScript->OnLoop(DELTA_TIME, true);
|
||||
|
||||
// Clear savegame loaded flag.
|
||||
JustLoaded = false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue