From 2492b561385859b7ef76fe816a8dc845f0b9bd09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Feb 2016 01:53:51 +0300 Subject: Fix some casts between signed and unsigned in some files. --- src/being/being.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/being/being.h') 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; -- cgit v1.2.3-70-g09d2