diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-05 19:17:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-05 19:17:59 +0300 |
commit | 1a9f3cc7de6e7e304290d2979eefbf9b0239a968 (patch) | |
tree | a583bdcac59f4dcf882d435c58928344c0b9c352 /src/being/localplayer.h | |
parent | b19a1c6d50c2c0f4233972f20c9354efca5ccb66 (diff) | |
download | mv-1a9f3cc7de6e7e304290d2979eefbf9b0239a968.tar.gz mv-1a9f3cc7de6e7e304290d2979eefbf9b0239a968.tar.bz2 mv-1a9f3cc7de6e7e304290d2979eefbf9b0239a968.tar.xz mv-1a9f3cc7de6e7e304290d2979eefbf9b0239a968.zip |
Replace most getters callc getTileX/getTileY to direct variables usage.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index b062cd6c2..7244664fb 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -391,10 +391,10 @@ class LocalPlayer final : public Being, const bool updateHash = true); int getLastAttackX() const override final - { return mTarget ? mTarget->getTileX() : mLastAttackX; } + { return mTarget ? mTarget->mX : mLastAttackX; } int getLastAttackY() const override final - { return mTarget ? mTarget->getTileY() : mLastAttackY; } + { return mTarget ? mTarget->mY : mLastAttackY; } void attributeChanged(const AttributesT id, const int oldVal, |