summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-17 00:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-17 00:43:42 +0300
commit3a360e0ae954df7cc467ea76ed9022fd520497d7 (patch)
tree361d21b1fe6f61086fb49bb5ccaee21d095eff5c /src/being
parent09f8a1ae2ca37e09c2aa0f5b8814b1e5a8654d1d (diff)
downloadplus-3a360e0ae954df7cc467ea76ed9022fd520497d7.tar.gz
plus-3a360e0ae954df7cc467ea76ed9022fd520497d7.tar.bz2
plus-3a360e0ae954df7cc467ea76ed9022fd520497d7.tar.xz
plus-3a360e0ae954df7cc467ea76ed9022fd520497d7.zip
Remove default parameter from Being::setPixelPositionF.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp4
-rw-r--r--src/being/being.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 8cd80d4dc..21eeeb879 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1907,7 +1907,9 @@ void Being::logic() restrict2
// Update pixel coordinates
setPixelPositionF(static_cast<float>(mX * mapTileSize
- + mapTileSize / 2 + xOffset), yOffset3);
+ + mapTileSize / 2 + xOffset),
+ yOffset3,
+ 0.0F);
}
if (A_UNLIKELY(mEmotionSprite))
diff --git a/src/being/being.h b/src/being/being.h
index b3ee99b5c..cfa00c7ba 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -514,7 +514,7 @@ class Being notfinal : public ActorSprite,
*/
inline void setPixelPositionF(const float x,
const float y,
- const float z = 0.0F) restrict2 A_INLINE
+ const float z) restrict2 A_INLINE
{ setPixelPositionF(Vector(x, y, z)); }
/**