mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
Sorry for the surprise fix but that really hurts my eyes :p
This was SVN commit r17748.
This commit is contained in:
parent
cd9106b664
commit
4ad601a301
2 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ private:
|
|||
|
||||
CEntityHandle m_SystemEntity;
|
||||
|
||||
int currentDisplayedPlayer;
|
||||
int m_CurrentDisplayedPlayer;
|
||||
|
||||
friend class CSimulation2Impl;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue