summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp3
-rw-r--r--src/being/being.h3
-rw-r--r--src/being/localplayer.cpp4
3 files changed, 6 insertions, 4 deletions
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));
}
}