summaryrefslogtreecommitdiffstats
path: root/src/Entities/Minecart.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-14 22:31:09 +0200
committerMattes D <github@xoft.cz>2015-04-14 22:31:09 +0200
commit54289aeccbb5a4d9624c369435ec29ce858374b9 (patch)
tree347b00bdfc68314d6a5e0a0aac5c89e3a19d6599 /src/Entities/Minecart.cpp
parentDebuggers: Renamed conflicting /cs command to /cstay. (diff)
parentChanged air drag for pickups (diff)
downloadcuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.gz
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.bz2
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.lz
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.xz
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.zst
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.zip
Diffstat (limited to 'src/Entities/Minecart.cpp')
-rw-r--r--src/Entities/Minecart.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp
index ee10cf6b3..3d56570ba 100644
--- a/src/Entities/Minecart.cpp
+++ b/src/Entities/Minecart.cpp
@@ -92,7 +92,9 @@ cMinecart::cMinecart(ePayload a_Payload, double a_X, double a_Y, double a_Z) :
m_DetectorRailPosition(0, 0, 0),
m_bIsOnDetectorRail(false)
{
- SetMass(20.f);
+ SetMass(20.0f);
+ SetGravity(-16.0f);
+ SetAirDrag(0.05f);
SetMaxHealth(6);
SetHealth(6);
SetWidth(1);