summaryrefslogtreecommitdiffstats
path: root/source/World.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 23:19:47 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-06-21 23:19:47 +0200
commite2281df8d8200973706c19bc512f2e3ec70d765b (patch)
treeed871b9256f7ea55b2f64e95a263759cb2be29f4 /source/World.h
parentExplosions don't produce warnings in cBlockArea; fixed logging in cBlockArea (diff)
downloadcuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.gz
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.bz2
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.lz
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.xz
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.tar.zst
cuberite-e2281df8d8200973706c19bc512f2e3ec70d765b.zip
Diffstat (limited to 'source/World.h')
-rw-r--r--source/World.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/World.h b/source/World.h
index 46894bbbf..647c109e8 100644
--- a/source/World.h
+++ b/source/World.h
@@ -330,8 +330,8 @@ public:
/// Spawns item pickups for each item in the list. May compress pickups if too many entities. All pickups get the speed specified:
void SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double a_BlockY, double a_BlockZ, double a_SpeedX, double a_SpeedY, double a_SpeedZ);
- /// Spawns a new primed TNT entity at the specified block coords and specified fuse duration
- void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, float a_FuseTimeInSec);
+ /// Spawns a new primed TNT entity at the specified block coords and specified fuse duration. Initial velocity is given based on the relative coefficient provided
+ void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, float a_FuseTimeInSec, double a_InitialVelocityCoeff = 1);
// tolua_end