summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-24 15:06:37 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-24 15:06:37 +0300
commita1f5338e93e5f8b2bdac2c305824a925fd2e4141 (patch)
treeca2b0d85f2e026d45ee8b0f66d282333a96f0d83 /src/being/being.h
parent1821dfad294c0d850be326639946b12cdbdcecaf (diff)
downloadmanaplus-a1f5338e93e5f8b2bdac2c305824a925fd2e4141.tar.gz
manaplus-a1f5338e93e5f8b2bdac2c305824a925fd2e4141.tar.bz2
manaplus-a1f5338e93e5f8b2bdac2c305824a925fd2e4141.tar.xz
manaplus-a1f5338e93e5f8b2bdac2c305824a925fd2e4141.zip
add speed parameter for pets.
New pet db option: walkSpeed
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.h b/src/being/being.h
index e20db69f4..6722e5d4c 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -478,7 +478,7 @@ class Being : public ActorSprite, public ConfigListener
* in pixels per second for eAthena,
* in tiles per second for Manaserv.
*/
- void setWalkSpeed(const Vector &speed)
+ void setWalkSpeed(Vector speed)
{ mWalkSpeed = speed; mSpeed = speed.x; }
/**