mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:09:16 +00:00
Allow headless game updates without a view
This commit is contained in:
1 parent
642a492c92
commit
910e6de7d7
1 file changed
+2
-1
+2
-1
@@ -446,7 +446,8 @@ void CGame::Update(const double deltaRealTime, bool doInterpolate)
|
||||
g_GUI->SendEventToAll(EventNameSimulationUpdate);
|
||||
}
|
||||
|
||||
GetView()->GetLOSTexture().MakeDirty();
|
||||
if (m_GameView)
|
||||
m_GameView->GetLOSTexture().MakeDirty();
|
||||
}
|
||||
|
||||
if (CRenderer::IsInitialised())
|
||||
|
||||
Reference in new issue
Block a user