summaryrefslogtreecommitdiffstats
path: root/source/World.cpp
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.cpp
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.cpp')
-rw-r--r--source/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/World.cpp b/source/World.cpp
index 97b5a2b0e..2a73eb7ea 100644
--- a/source/World.cpp
+++ b/source/World.cpp
@@ -1325,11 +1325,11 @@ void cWorld::SpawnItemPickups(const cItems & a_Pickups, double a_BlockX, double
-void cWorld::SpawnPrimedTNT(double a_X, double a_Y, double a_Z, float a_FuseTimeInSec)
+void cWorld::SpawnPrimedTNT(double a_X, double a_Y, double a_Z, float a_FuseTimeInSec, double a_InitialVelocityCoeff)
{
cTNTEntity * TNT = new cTNTEntity(a_X, a_Y, a_Z, a_FuseTimeInSec);
TNT->Initialize(this);
- // TODO: Add a bit of speed in horiz and vert axes
+ // TODO: Add a bit of speed in horiz and vert axes, based on the a_InitialVelocityCoeff
}