From c2efedab22275302f0a10cc197424d345a021d18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jun 2012 20:13:48 +0300 Subject: Replace SDL int types to C++ types. --- src/actorsprite.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/actorsprite.h') diff --git a/src/actorsprite.h b/src/actorsprite.h index 29df6954c..21ed0ae12 100644 --- a/src/actorsprite.h +++ b/src/actorsprite.h @@ -139,7 +139,7 @@ public: * Sets the actor's stun mode. If zero, the being is `normal', otherwise it * is `stunned' in some fashion. */ - void setStunMode(Uint16 stunMode) + void setStunMode(uint16_t stunMode) { if (mStunMode != stunMode) updateStunMode(mStunMode, stunMode); @@ -154,7 +154,7 @@ public: * * These are NOT the same as the status effect indices. */ - void setStatusEffectBlock(int offset, Uint16 flags); + void setStatusEffectBlock(int offset, uint16_t flags); virtual void setAlpha(float alpha) { CompoundSprite::setAlpha(alpha); } @@ -217,7 +217,7 @@ protected: std::string color = ""); int mId; - Uint16 mStunMode; /**< Stun mode; zero if not stunned */ + uint16_t mStunMode; /**< Stun mode; zero if not stunned */ std::set mStatusEffects; /**< set of active status effects */ ParticleList mStunParticleEffects; -- cgit v1.2.3-70-g09d2