diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-26 00:10:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-26 13:53:30 +0300 |
commit | 35d6f9c1086d84a479bab84f07f8c9dae266f4ca (patch) | |
tree | 632b84779ac9b9ce20b60f99272f4a4c241b0b74 /src/being/being.cpp | |
parent | 6e71645ebfd4cf07d86bd913b0002a3a1a33c1a9 (diff) | |
download | plus-35d6f9c1086d84a479bab84f07f8c9dae266f4ca.tar.gz plus-35d6f9c1086d84a479bab84f07f8c9dae266f4ca.tar.bz2 plus-35d6f9c1086d84a479bab84f07f8c9dae266f4ca.tar.xz plus-35d6f9c1086d84a479bab84f07f8c9dae266f4ca.zip |
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index b24f10ecd..57529b734 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1837,7 +1837,8 @@ void Being::logic() restrict2 mNeedPosUpdate = false; const int halfTile = mapTileSize / 2; - const float offset2 = static_cast<float>(mPixelOffsetY * abs(offset)) / 2; + const float offset2 = static_cast<float>( + mPixelOffsetY * abs(offset)) / 2; // mSortOffsetY = (mOldHeight - mFixedOffsetY + mPixelOffsetY) // * halfTile - offset2; mSortOffsetY = 0; @@ -3136,7 +3137,6 @@ void Being::drawMonsterSpriteAt(Graphics *restrict const graphics, 2 * 50, 4); } - } void Being::drawPortalSpriteAt(Graphics *restrict const graphics, |