From cad3b1d8688b94b185ada0f0b313435ac4b3b457 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Oct 2013 00:32:54 +0300 Subject: fix code style. --- src/being/being.cpp | 3 ++- src/being/being.h | 3 ++- src/being/localplayer.cpp | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/being') diff --git a/src/being/being.cpp b/src/being/being.cpp index 01ab7b267..43f82db0b 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2272,7 +2272,8 @@ bool Being::drawSpriteAt(Graphics *const graphics, graphics->setColor(userPalette-> getColorWithAlpha(UserPalette::PORTAL_HIGHLIGHT)); - graphics->fillRectangle(gcn::Rectangle(x, y, mapTileSize, mapTileSize)); + graphics->fillRectangle(gcn::Rectangle(x, y, + mapTileSize, mapTileSize)); if (mDrawHotKeys && !mName.empty()) { diff --git a/src/being/being.h b/src/being/being.h index 04e32ae61..314787a56 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -322,7 +322,8 @@ class Being : public ActorSprite, public ConfigListener /** * Returns a pointer to the specified guild that the being is in. */ - const Guild *getGuild(const std::string &guildName) const A_WARN_UNUSED; + const Guild *getGuild(const std::string &guildName) + const A_WARN_UNUSED; /** * Returns a pointer to the specified guild that the being is in. diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index de2f3f30c..ffd2593f0 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -506,8 +506,8 @@ Position LocalPlayer::getNextWalkPosition(const unsigned char dir) const } else // The diagonal is walkable { - return mMap->checkNodeOffsets(radius, - walkMask, Position(posX + mapTileSize, posY - mapTileSize)); + return mMap->checkNodeOffsets(radius, walkMask, + Position(posX + mapTileSize, posY - mapTileSize)); } } -- cgit v1.2.3-70-g09d2