diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-07 01:53:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-07 01:53:51 +0300 |
commit | 2492b561385859b7ef76fe816a8dc845f0b9bd09 (patch) | |
tree | 62633f8cd7c027c2a8e1bae61264a79394aeb751 /src/being/being.h | |
parent | ce14a018a6f66aa1309ebe71a8217082d83cd0da (diff) | |
download | mv-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.gz mv-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.bz2 mv-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.xz mv-2492b561385859b7ef76fe816a8dc845f0b9bd09.zip |
Fix some casts between signed and unsigned in some files.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/being/being.h b/src/being/being.h index a689e961a..c91cac5b9 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -664,19 +664,19 @@ class Being notfinal : public ActorSprite, void setOtherTime() restrict2 noexcept { mOtherTime = cur_time; } - unsigned int getMoveTime() const restrict2 noexcept + int getMoveTime() const restrict2 noexcept { return mMoveTime; } - unsigned int getAttackTime() const restrict2 noexcept + int getAttackTime() const restrict2 noexcept { return mAttackTime; } - unsigned int getTalkTime() const restrict2 noexcept + int getTalkTime() const restrict2 noexcept { return mTalkTime; } - unsigned int getTestTime() const restrict2 noexcept + int getTestTime() const restrict2 noexcept { return mTestTime; } - unsigned int getOtherTime() const restrict2 noexcept + int getOtherTime() const restrict2 noexcept { return mOtherTime; } void resetCounters() restrict2; @@ -1168,11 +1168,11 @@ class Being notfinal : public ActorSprite, static uint8_t mShowBadges; static int mAwayEffect; - unsigned int mMoveTime; - unsigned int mAttackTime; - unsigned int mTalkTime; - unsigned int mOtherTime; - unsigned int mTestTime; + int mMoveTime; + int mAttackTime; + int mTalkTime; + int mOtherTime; + int mTestTime; int mAttackDelay; int mMinHit; int mMaxHit; |