diff options
author | krzys-h <krzys_h@interia.pl> | 2014-10-29 16:08:45 +0100 |
---|---|---|
committer | krzys-h <krzys_h@interia.pl> | 2014-10-29 16:08:55 +0100 |
commit | 61e06149c65fbc61c6d927f527195a9b4a8154dc (patch) | |
tree | 79452f02a9c70c65ab652bef35193c61355d31a0 /src | |
parent | d91569e165083a7c12b1c672713a9725d80c261c (diff) | |
download | colobot-61e06149c65fbc61c6d927f527195a9b4a8154dc.tar.gz colobot-61e06149c65fbc61c6d927f527195a9b4a8154dc.tar.bz2 colobot-61e06149c65fbc61c6d927f527195a9b4a8154dc.zip |
Fixed position updating
Diffstat (limited to 'src')
-rw-r--r-- | src/object/robotmain.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/object/robotmain.cpp b/src/object/robotmain.cpp index 90faceb..6ebd34c 100644 --- a/src/object/robotmain.cpp +++ b/src/object/robotmain.cpp @@ -1416,6 +1416,11 @@ bool CRobotMain::ProcessEvent(Event &event) m_interface->EventProcess(event); if (m_displayInfo != nullptr) // current edition? m_displayInfo->EventProcess(event); + + if (m_phase == PHASE_SIMUL) + { + UpdateInfoText(); + } return EventFrame(event); } @@ -1500,8 +1505,6 @@ bool CRobotMain::ProcessEvent(Event &event) // Simulation phase of the game if (m_phase == PHASE_SIMUL) { - UpdateInfoText(); - if (!m_editFull) m_camera->EventProcess(event); |