diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-11-05 01:09:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-11-05 01:09:30 +0300 |
commit | 485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 (patch) | |
tree | ce74f5a2fb646439cb58c2d85bc67ff29b70dbb7 /src/actormanager.cpp | |
parent | 33f4a30373c8978d4e4f29422a5b0132fd14a0ec (diff) | |
download | manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.gz manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.bz2 manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.tar.xz manaverse-485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70.zip |
Fix code style.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index f052edd99..974eef64a 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -900,10 +900,8 @@ Being *ActorManager::findNearestByName(const std::string &name, int dist = 0; Being* closestBeing = nullptr; - int x, y; - - x = localPlayer->getTileX(); - y = localPlayer->getTileY(); + int x = localPlayer->getTileX(); + int y = localPlayer->getTileY(); for_actorsm { |