From 4ad601a30139c92147c20d2b9548954fb830f307 Mon Sep 17 00:00:00 2001 From: Itms Date: Tue, 9 Feb 2016 16:12:52 +0000 Subject: [PATCH] Sorry for the surprise fix but that really hurts my eyes :p This was SVN commit r17748. --- source/simulation2/system/SimContext.cpp | 6 +++--- source/simulation2/system/SimContext.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/simulation2/system/SimContext.cpp b/source/simulation2/system/SimContext.cpp index b414b56709..28fe544336 100644 --- a/source/simulation2/system/SimContext.cpp +++ b/source/simulation2/system/SimContext.cpp @@ -24,7 +24,7 @@ #include "ps/Game.h" CSimContext::CSimContext() : - m_ComponentManager(NULL), m_UnitManager(NULL), m_Terrain(NULL), currentDisplayedPlayer(0) + m_ComponentManager(NULL), m_UnitManager(NULL), m_Terrain(NULL), m_CurrentDisplayedPlayer(0) { } @@ -67,10 +67,10 @@ ScriptInterface& CSimContext::GetScriptInterface() const int CSimContext::GetCurrentDisplayedPlayer() const { - return g_Game ? currentDisplayedPlayer : -1; + return g_Game ? m_CurrentDisplayedPlayer : -1; } void CSimContext::SetCurrentDisplayedPlayer(int player) { - currentDisplayedPlayer = player; + m_CurrentDisplayedPlayer = player; } diff --git a/source/simulation2/system/SimContext.h b/source/simulation2/system/SimContext.h index 72fa086f6f..0a8c7f5949 100644 --- a/source/simulation2/system/SimContext.h +++ b/source/simulation2/system/SimContext.h @@ -62,7 +62,7 @@ private: CEntityHandle m_SystemEntity; - int currentDisplayedPlayer; + int m_CurrentDisplayedPlayer; friend class CSimulation2Impl; };