summaryrefslogtreecommitdiffstats
path: root/src/Entities/Boat.cpp
diff options
context:
space:
mode:
authorDevToaster <blazetoaster@gmail.com>2015-03-31 01:42:32 +0200
committerDevToaster <blazetoaster@gmail.com>2015-03-31 01:42:32 +0200
commitc743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4 (patch)
treeaef0d73b4a70ea991894dd1f739f074a622485ef /src/Entities/Boat.cpp
parentQtBiomeVisualiser: Fixed compilation and INI loading. (diff)
downloadcuberite-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 'src/Entities/Boat.cpp')
-rw-r--r--src/Entities/Boat.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entities/Boat.cpp b/src/Entities/Boat.cpp
index 6177eb32f..8899921ab 100644
--- a/src/Entities/Boat.cpp
+++ b/src/Entities/Boat.cpp
@@ -16,7 +16,9 @@
cBoat::cBoat(double a_X, double a_Y, double a_Z) :
super(etBoat, a_X, a_Y, a_Z, 0.98, 0.7)
{
- SetMass(20.f);
+ SetMass(20.0f);
+ SetGravity(-16.0f);
+ SetAirDrag(1.0f);
SetMaxHealth(6);
SetHealth(6);
}