summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-03-08 12:24:33 +0100
committerHowaner <franzi.moos@googlemail.com>2014-03-08 12:24:33 +0100
commitb37966fd214fb048a415a33291a85ee8c263691c (patch)
tree12fc18f87b61607b051631acdb217ef35a07f7bb /src/World.cpp
parentAdd new tnt documentation (diff)
downloadcuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.gz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.bz2
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.lz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.xz
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.tar.zst
cuberite-b37966fd214fb048a415a33291a85ee8c263691c.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 ecb278e85..ebc37f7b2 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -1725,10 +1725,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
}