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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/being/being.h b/src/being/being.h
index b08cba443..e373ec5e3 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -476,7 +476,7 @@ class Being : public ActorSprite, public ConfigListener
* in tiles per second for Manaserv.
*/
void setWalkSpeed(const Vector &speed)
- { mWalkSpeed = speed; }
+ { mWalkSpeed = speed; mSpeed = speed.x; }
/**
* Gets the walk speed.
@@ -1000,6 +1000,7 @@ class Being : public ActorSprite, public ConfigListener
* @see MILLISECONDS_IN_A_TICK
*/
Vector mWalkSpeed;
+ float mSpeed;
std::string mIp;
int *mSpriteRemap;
int *mSpriteHide;