summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index c9bb2eca7..ce1b27ebd 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -405,7 +405,7 @@ class Being notfinal : public ActorSprite,
* Sets the walk speed in pixels per second.
*/
void setWalkSpeed(const int speed) restrict2
- { mWalkSpeed = speed; mSpeed = static_cast<float>(speed); }
+ { mWalkSpeed = speed; mSpeed = speed; }
/**
* Gets the walk speed in pixels per second.
@@ -1097,7 +1097,7 @@ class Being notfinal : public ActorSprite,
* @see MILLISECONDS_IN_A_TICK
*/
int mWalkSpeed;
- float mSpeed;
+ int mSpeed;
std::string mIp;
int *restrict mSpriteRemap A_NONNULLPOINTER;
int *restrict mSpriteHide A_NONNULLPOINTER;