diff options
author | erihel <erihel@gmail.com> | 2012-08-31 22:28:07 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2012-08-31 22:28:07 +0200 |
commit | 6ba0f42f22a170625f15879e01b4653a4ac153a1 (patch) | |
tree | 129478ed8c5e4fd167c7c77c8ce00b88c5a4f83b /src/ui/target.cpp | |
parent | 5408fe92527a4df01e4d66a2cdfdbbbea5738afc (diff) | |
download | colobot-6ba0f42f22a170625f15879e01b4653a4ac153a1.tar.gz colobot-6ba0f42f22a170625f15879e01b4653a4ac153a1.tar.bz2 colobot-6ba0f42f22a170625f15879e01b4653a4ac153a1.zip |
latest changes; few more classes should compile now
Diffstat (limited to 'src/ui/target.cpp')
-rw-r--r-- | src/ui/target.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/target.cpp b/src/ui/target.cpp index db478fe..9ffcfb9 100644 --- a/src/ui/target.cpp +++ b/src/ui/target.cpp @@ -137,7 +137,7 @@ bool CTarget::EventProcess(const Event &event) { if ( CControl::Detect(event.pos) ) { - if ( !m_main->RetFriendAim() ) + if ( !m_main->GetFriendAim() ) { Event newEvent = event; newEvent.type = EVENT_OBJECT_FIRE; @@ -181,7 +181,7 @@ bool CTarget::GetTooltip(Math::Point pos, char* name) { //? pObj = DetectFriendObject(pos); //? if ( pObj == 0 ) - if ( !m_main->RetFriendAim() ) + if ( !m_main->GetFriendAim() ) { strcpy(name, m_tooltip); return true; // does not detect objects below! |