summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-07 01:53:51 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-07 01:53:51 +0300
commit2492b561385859b7ef76fe816a8dc845f0b9bd09 (patch)
tree62633f8cd7c027c2a8e1bae61264a79394aeb751 /src/being/being.h
parentce14a018a6f66aa1309ebe71a8217082d83cd0da (diff)
downloadplus-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.gz
plus-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.bz2
plus-2492b561385859b7ef76fe816a8dc845f0b9bd09.tar.xz
plus-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.h20
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;