diff options
author | erihel <erihel@gmail.com> | 2013-06-24 22:09:39 +0200 |
---|---|---|
committer | erihel <erihel@gmail.com> | 2013-06-24 22:09:39 +0200 |
commit | 41fa8458c2e28f05a610bfc3119f86b8dc85542a (patch) | |
tree | 4a653c3f32cb0d524af2669d666fd8385b9a408f /src/object/auto/autodestroyer.cpp | |
parent | 5c15855009aaab519718b80808d9e10eeda6b425 (diff) | |
download | colobot-41fa8458c2e28f05a610bfc3119f86b8dc85542a.tar.gz colobot-41fa8458c2e28f05a610bfc3119f86b8dc85542a.tar.bz2 colobot-41fa8458c2e28f05a610bfc3119f86b8dc85542a.zip |
Some Ui refactoring
Diffstat (limited to 'src/object/auto/autodestroyer.cpp')
-rw-r--r-- | src/object/auto/autodestroyer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object/auto/autodestroyer.cpp b/src/object/auto/autodestroyer.cpp index fdaebc0..dfe8e78 100644 --- a/src/object/auto/autodestroyer.cpp +++ b/src/object/auto/autodestroyer.cpp @@ -24,7 +24,6 @@ #include "ui/interface.h" #include "ui/window.h" -#include "ui/displaytext.h" #include <stdio.h> #include <string.h> @@ -122,7 +121,7 @@ bool CAutoDestroyer::EventProcess(const Event &event) { Error err = StartAction(0); if ( err != ERR_OK ) - m_displayText->DisplayError(err, m_object); + m_main->DisplayError(err, m_object); return false; } |