diff options
Diffstat (limited to 'src/object/brain.cpp')
-rw-r--r-- | src/object/brain.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/brain.cpp b/src/object/brain.cpp index c395c6a..953f878 100644 --- a/src/object/brain.cpp +++ b/src/object/brain.cpp @@ -361,9 +361,9 @@ bool CBrain::EventProcess(const Event &event) m_buttonAxe = EVENT_NULL; } - axeX = event.axeX; - axeY = event.axeY; - axeZ = event.axeZ; + axeX = event.motionInput.x; + axeY = event.motionInput.y; + axeZ = event.motionInput.z; if ( !m_main->GetTrainerPilot() && m_object->GetTrainer() ) // drive vehicle? |