diff options
author | erihel <erihel@gmail.com> | 2012-08-18 11:30:29 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2012-08-18 11:30:29 +0200 |
commit | 48ad79a03c12b923dfdb3795a2138445859cf779 (patch) | |
tree | 8fdffe1bc7ef2a5e1008a98a3fbb3bd1e58d4b80 /src/ui/control.cpp | |
parent | c02ac93379287fd83b134c34aa925c85fcda8e26 (diff) | |
download | colobot-48ad79a03c12b923dfdb3795a2138445859cf779.tar.gz colobot-48ad79a03c12b923dfdb3795a2138445859cf779.tar.bz2 colobot-48ad79a03c12b923dfdb3795a2138445859cf779.zip |
* minor changes to control.cpp to compile it without errors
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r-- | src/ui/control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp index 61fd6dd..9893fc8 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -43,9 +43,9 @@ // Object's constructor. -CControl::CControl(CInstanceManager* iMan) +CControl::CControl() { - m_iMan = iMan; + m_iMan = CInstanceManager::GetInstancePointer(); m_engine = static_cast< Gfx::CEngine* > ( m_iMan->SearchInstance(CLASS_ENGINE) ); m_event = static_cast< CEventQueue* > ( m_iMan->SearchInstance(CLASS_EVENT) ); |