summaryrefslogtreecommitdiff
path: root/src/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.cpp')
-rw-r--r--src/engine.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/engine.cpp b/src/engine.cpp
index 8194e00b..0209fbbc 100644
--- a/src/engine.cpp
+++ b/src/engine.cpp
@@ -467,16 +467,17 @@ void Engine::draw()
being->drawSpeech(graphics);
}
- if (autoTarget) {
+ if (autoTarget)
+ {
if (autoTarget->getType() == Being::PLAYER)
{
graphics->drawText("[TARGET]",
- autoTarget->text_x+15,
- autoTarget->text_y-60,
+ autoTarget->text_x + 15,
+ autoTarget->text_y - 60,
gcn::Graphics::CENTER);
-
- } else {
-
+ }
+ else
+ {
graphics->drawText("[TARGET]",
autoTarget->text_x + 60,
autoTarget->text_y,