diff options
author | DevToaster <blazetoaster@gmail.com> | 2015-03-31 01:42:32 +0200 |
---|---|---|
committer | DevToaster <blazetoaster@gmail.com> | 2015-03-31 01:42:32 +0200 |
commit | c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4 (patch) | |
tree | aef0d73b4a70ea991894dd1f739f074a622485ef /src/Entities/Minecart.cpp | |
parent | QtBiomeVisualiser: Fixed compilation and INI loading. (diff) | |
download | cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.gz cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.bz2 cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.lz cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.xz cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.zst cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Minecart.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/Minecart.cpp b/src/Entities/Minecart.cpp index ee10cf6b3..7fdb39ea7 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(1.0f); SetMaxHealth(6); SetHealth(6); SetWidth(1); |