summaryrefslogtreecommitdiffstats
path: root/src/Entities/TNTEntity.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/TNTEntity.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/TNTEntity.cpp')
-rw-r--r--src/Entities/TNTEntity.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Entities/TNTEntity.cpp b/src/Entities/TNTEntity.cpp
index a89d2f300..b5b98f833 100644
--- a/src/Entities/TNTEntity.cpp
+++ b/src/Entities/TNTEntity.cpp
@@ -12,6 +12,8 @@ cTNTEntity::cTNTEntity(double a_X, double a_Y, double a_Z, int a_FuseTicks) :
super(etTNT, a_X, a_Y, a_Z, 0.98, 0.98),
m_FuseTicks(a_FuseTicks)
{
+ SetGravity(-16.0f);
+ SetAirDrag(0.4f);
}
@@ -22,6 +24,8 @@ cTNTEntity::cTNTEntity(const Vector3d & a_Pos, int a_FuseTicks) :
super(etTNT, a_Pos.x, a_Pos.y, a_Pos.z, 0.98, 0.98),
m_FuseTicks(a_FuseTicks)
{
+ SetGravity(-16.0f);
+ SetAirDrag(0.4f);
}