File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,10 @@ namespace RTE {
332
332
g_LuaMan.Update ();
333
333
g_ActivityMan.Update ();
334
334
335
+ if (g_SceneMan.GetScene ()) {
336
+ g_SceneMan.GetScene ()->Update ();
337
+ }
338
+
335
339
g_LuaMan.ClearScriptTimings ();
336
340
g_MovableMan.Update ();
337
341
g_PerformanceMan.UpdateSortedScriptTimings (g_LuaMan.GetScriptTimings ());
Original file line number Diff line number Diff line change @@ -2773,11 +2773,6 @@ void SceneMan::Update(int screenId) {
2773
2773
2774
2774
m_LastUpdatedScreen = screenId;
2775
2775
2776
- // Update the scene, only if doing the first screen, since it only needs done once per update.
2777
- if (screenId == 0 ) {
2778
- m_pCurrentScene->Update ();
2779
- }
2780
-
2781
2776
const Vector &offset = g_CameraMan.GetOffset (screenId);
2782
2777
m_pMOColorLayer->SetOffset (offset);
2783
2778
m_pMOIDLayer->SetOffset (offset);
You can’t perform that action at this time.
0 commit comments