diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-10 18:17:28 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-10 18:17:28 +0100 |
commit | 0a509ab85e395bf46e29b7b554d736fadfaed0ba (patch) | |
tree | f67665e089d372b89505f1b9a3ee21c8cd9f0d8c /src/World.h | |
parent | Be more parinoid about int sizes (diff) | |
parent | Fixed MSVC2008 compilation. (diff) | |
download | cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.gz cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.bz2 cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.lz cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.xz cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.tar.zst cuberite-0a509ab85e395bf46e29b7b554d736fadfaed0ba.zip |
Diffstat (limited to 'src/World.h')
-rw-r--r-- | src/World.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.h b/src/World.h index 0a0939dd1..d48db5911 100644 --- a/src/World.h +++ b/src/World.h @@ -445,7 +445,7 @@ public: int SpawnExperienceOrb(double a_X, double a_Y, double a_Z, int a_Reward); /** 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, double a_FuseTimeInSec, double a_InitialVelocityCoeff = 1); + void SpawnPrimedTNT(double a_X, double a_Y, double a_Z, int a_FuseTimeInSec = 80, double a_InitialVelocityCoeff = 1); // tolua_end @@ -708,7 +708,7 @@ public: int SpawnMobFinalize(cMonster* a_Monster); /** Creates a projectile of the specified type. Returns the projectile's EntityID if successful, <0 otherwise */ - int CreateProjectile(double a_PosX, double a_PosY, double a_PosZ, cProjectileEntity::eKind a_Kind, cEntity * a_Creator, const Vector3d * a_Speed = NULL); // tolua_export + int CreateProjectile(double a_PosX, double a_PosY, double a_PosZ, cProjectileEntity::eKind a_Kind, cEntity * a_Creator, const cItem a_Item, const Vector3d * a_Speed = NULL); // tolua_export /** Returns a random number from the m_TickRand in range [0 .. a_Range]. To be used only in the tick thread! */ int GetTickRandomNumber(unsigned a_Range) { return (int)(m_TickRand.randInt(a_Range)); } |