summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.h
diff options
context:
space:
mode:
authorMarvin Kopf <marvinkopf@posteo.de>2016-02-21 02:46:36 +0100
committerMarvin Kopf <marvinkopf@posteo.de>2016-04-15 01:59:18 +0200
commit01a100dc97aa27d8cd9a755212e144e326dce0db (patch)
treeb9577f0838501dc98b643f2818e514a189f37b8c /src/Entities/Minecart.h
parentMerge pull request #3140 from cuberite/revert-3137-issue3136 (diff)
downloadcuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.tar
cuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.tar.gz
cuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.tar.bz2
cuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.tar.lz
cuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.tar.xz
cuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.tar.zst
cuberite-01a100dc97aa27d8cd9a755212e144e326dce0db.zip
Diffstat (limited to 'src/Entities/Minecart.h')
-rw-r--r--src/Entities/Minecart.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Minecart.h b/src/Entities/Minecart.h
index c4b1d7f6d..0e5c99f80 100644
--- a/src/Entities/Minecart.h
+++ b/src/Entities/Minecart.h
@@ -51,6 +51,9 @@ protected:
Vector3i m_DetectorRailPosition;
bool m_bIsOnDetectorRail;
+ // Overwrite to enforce speed limit
+ virtual void DoSetSpeed(double a_SpeedX, double a_SpeedY, double a_SpeedZ);
+
cMinecart(ePayload a_Payload, double a_X, double a_Y, double a_Z);
/** Handles physics on normal rails