summaryrefslogtreecommitdiffstats
path: root/src/object/brain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/brain.cpp')
-rw-r--r--src/object/brain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/brain.cpp b/src/object/brain.cpp
index 953f878..7b580d7 100644
--- a/src/object/brain.cpp
+++ b/src/object/brain.cpp
@@ -578,7 +578,7 @@ bool CBrain::EventProcess(const Event &event)
}
if ( action == EVENT_OBJECT_TARGET && !m_object->GetTrainer() )
{
- err = StartTaskGunGoal((event.pos.y-0.50f)*1.3f, (event.pos.x-0.50f)*2.0f);
+ err = StartTaskGunGoal((event.mousePos.y-0.50f)*1.3f, (event.mousePos.x-0.50f)*2.0f);
}
if ( action == EVENT_OBJECT_FIREANT )