summaryrefslogtreecommitdiffstats
path: root/src/Entities/Entity.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-05-22 11:08:44 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2014-05-22 11:08:44 +0200
commit73455d293861c492388f3a28af3380318eaa0bae (patch)
treec31ce06aa2d2960d46f1b80c3cc7d8d2ecb4f424 /src/Entities/Entity.h
parentBoth SetSpeed functions are now overridden by cPlayer (diff)
downloadcuberite-73455d293861c492388f3a28af3380318eaa0bae.tar
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.gz
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.bz2
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.lz
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.xz
cuberite-73455d293861c492388f3a28af3380318eaa0bae.tar.zst
cuberite-73455d293861c492388f3a28af3380318eaa0bae.zip
Diffstat (limited to '')
-rw-r--r--src/Entities/Entity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h
index 0ea27ef10..fc72462c3 100644
--- a/src/Entities/Entity.h
+++ b/src/Entities/Entity.h
@@ -222,9 +222,9 @@ public:
// tolua_begin
virtual void SetSpeed (double a_SpeedX, double a_SpeedY, double a_SpeedZ);
virtual void SetSpeed (const Vector3d & a_Speed) { SetSpeed(a_Speed.x, a_Speed.y, a_Speed.z); }
- void SetSpeedX (double a_SpeedX);
- void SetSpeedY (double a_SpeedY);
- void SetSpeedZ (double a_SpeedZ);
+ virtual void SetSpeedX (double a_SpeedX);
+ virtual void SetSpeedY (double a_SpeedY);
+ virtual void SetSpeedZ (double a_SpeedZ);
void SetWidth (double a_Width);
void AddPosX (double a_AddPosX);