summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-04 00:32:54 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-04 00:32:54 +0300
commitcad3b1d8688b94b185ada0f0b313435ac4b3b457 (patch)
treea27c65075d745208bd8ba1029762507abf740db8 /src/being
parentdc599c219c283a4f7517c8ffe1e781b9847ef045 (diff)
downloadmanaplus-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.gz
manaplus-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.bz2
manaplus-cad3b1d8688b94b185ada0f0b313435ac4b3b457.tar.xz
manaplus-cad3b1d8688b94b185ada0f0b313435ac4b3b457.zip
fix code style.
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));
}
}