diff options
author | Mattes D <github@xoft.cz> | 2015-04-14 22:31:09 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-04-14 22:31:09 +0200 |
commit | 54289aeccbb5a4d9624c369435ec29ce858374b9 (patch) | |
tree | 347b00bdfc68314d6a5e0a0aac5c89e3a19d6599 /src/Entities/TNTEntity.cpp | |
parent | Debuggers: Renamed conflicting /cs command to /cstay. (diff) | |
parent | Changed air drag for pickups (diff) | |
download | cuberite-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/TNTEntity.cpp')
-rw-r--r-- | src/Entities/TNTEntity.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Entities/TNTEntity.cpp b/src/Entities/TNTEntity.cpp index a89d2f300..d849bd4c9 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.02f); } @@ -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); } |