From f5a394a5051384a930d635da22ccafc6beb1cb84 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 10 Jan 2010 17:19:24 +0200 Subject: Change code style --- src/game.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index fc374025..3ef07dca 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1015,7 +1015,11 @@ void Game::handleInput() player_node->setTarget(target); mLastTarget = currentTarget; } - } else mLastTarget = Being::UNKNOWN; // Reset last target + } + else + { + mLastTarget = Being::UNKNOWN; // Reset last target + } // Talk to the nearest NPC if 't' pressed if ( keyboard.isKeyActive(keyboard.KEY_TALK) ) -- cgit v1.2.3-60-g2f50