diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-09 00:18:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-09 00:18:08 +0300 |
commit | c6ac11341bd99cbe5eeb4275b9b2473e21338d5e (patch) | |
tree | bb7589c232ad54bfd037ae016ee0991342ebccfa /src/being/localplayer.cpp | |
parent | 9f1470325518a8ee5b6c0c2c1254ab4dccac0f63 (diff) | |
download | mv-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.gz mv-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.bz2 mv-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.tar.xz mv-c6ac11341bd99cbe5eeb4275b9b2473e21338d5e.zip |
Fix code style.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 061945c0c..c0f4caa80 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2584,7 +2584,8 @@ void LocalPlayer::setRealPos(const int x, const int y) { const MapItem *const mapItem = layer->getTile(x, y); - if ((mapItem == nullptr) || mapItem->getType() == MapItemType::EMPTY) + if (mapItem == nullptr || + mapItem->getType() == MapItemType::EMPTY) { if (mX != x && mY != y) { |