mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Remove g_GUI usage in simulation2/*
This is the last remaining inclusion of a gui file in simulation2/.
This commit is contained in:
+2
-1
@@ -431,7 +431,8 @@ void CGame::Update(const double deltaRealTime, bool doInterpolate)
|
||||
// so just use the sim rate itself as the number of turns per frame.
|
||||
size_t maxTurns = (size_t)m_SimRate;
|
||||
|
||||
if (m_TurnManager->Update(deltaSimTime, maxTurns))
|
||||
if (m_TurnManager->Update(deltaSimTime, maxTurns,
|
||||
std::bind_front(&CGUIManager::SendEventToAll, g_GUI)))
|
||||
{
|
||||
{
|
||||
PROFILE3("gui sim update");
|
||||
|
||||
Reference in New Issue
Block a user