summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-09 22:44:32 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-03-09 22:44:32 +0100
commit09c5542123bcde7d9c40c35679f3ff499eb50125 (patch)
treef357cf6e6a6cb8ce10ab26f7379d07683a84ac54 /src/World.cpp
parentMerge pull request #731 from mc-server/ballisticmissiles (diff)
parentChange tnt documentation to ticks (diff)
downloadcuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar
cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.gz
cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.bz2
cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.lz
cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.xz
cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.tar.zst
cuberite-09c5542123bcde7d9c40c35679f3ff499eb50125.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 2627da0ba..a9db6bf00 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1726,10 +1726,10 @@ int cWorld::SpawnMinecart(double a_X, double a_Y, double a_Z, int a_MinecartType
-void cWorld::SpawnPrimedTNT(double a_X, double a_Y, double a_Z, double a_FuseTimeInSec, double a_InitialVelocityCoeff)
+void cWorld::SpawnPrimedTNT(double a_X, double a_Y, double a_Z, int a_FuseTicks, double a_InitialVelocityCoeff)
{
UNUSED(a_InitialVelocityCoeff);
- cTNTEntity * TNT = new cTNTEntity(a_X, a_Y, a_Z, a_FuseTimeInSec);
+ cTNTEntity * TNT = new cTNTEntity(a_X, a_Y, a_Z, a_FuseTicks);
TNT->Initialize(this);
// TODO: Add a bit of speed in horiz and vert axes, based on the a_InitialVelocityCoeff
}