diff options
author | erihel <erihel@gmail.com> | 2012-08-17 23:03:52 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2012-08-17 23:03:52 +0200 |
commit | ea6269c4110282a3e7c05bec9c7f17ffd1bd5191 (patch) | |
tree | 712508692172671a06e6453908704b1c8f7ace94 /src/ui/control.cpp | |
parent | 6ff8706d041d0b204734eabcfc4f6acf39cfbbf2 (diff) | |
download | colobot-ea6269c4110282a3e7c05bec9c7f17ffd1bd5191.tar.gz colobot-ea6269c4110282a3e7c05bec9c7f17ffd1bd5191.tar.bz2 colobot-ea6269c4110282a3e7c05bec9c7f17ffd1bd5191.zip |
* ui/key.cpp compiles
* csoundinterface to ccontrol
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r-- | src/ui/control.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp index 867958c..61fd6dd 100644 --- a/src/ui/control.cpp +++ b/src/ui/control.cpp @@ -51,7 +51,7 @@ CControl::CControl(CInstanceManager* iMan) m_event = static_cast< CEventQueue* > ( m_iMan->SearchInstance(CLASS_EVENT) ); m_main = static_cast< CRobotMain* > ( m_iMan->SearchInstance(CLASS_MAIN) ); m_particle = static_cast< Gfx::CParticle* > (m_iMan->SearchInstance(CLASS_PARTICULE)); - m_sound = static_cast< CSound* > (m_iMan->SearchInstance(CLASS_SOUND)); + m_sound = static_cast< CSoundInterface* > (m_iMan->SearchInstance(CLASS_SOUND)); m_eventType = EVENT_NULL; m_state = STATE_ENABLE|STATE_VISIBLE|STATE_GLINT; m_fontSize = Gfx::FONT_SIZE_SMALL; |