diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-07-13 17:03:29 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-07-13 17:03:29 +0200 |
commit | 6892b448db5f897876657a865fd5bea2785d30a9 (patch) | |
tree | f93708e65288648bda310c2b9e11c55663a2fa30 /src/World.h | |
parent | Fixed Issue with Comparing agast the wrong chest, potentially causing crashes. (diff) | |
parent | Merge pull request #1178 from mc-server/projectilefix (diff) | |
download | cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.gz cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.bz2 cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.lz cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.xz cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.zst cuberite-6892b448db5f897876657a865fd5bea2785d30a9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h index be055f004..5bb0e640f 100644 --- a/src/World.h +++ b/src/World.h @@ -751,7 +751,7 @@ public: /** Creates a projectile of the specified type. Returns the projectile's EntityID if successful, <0 otherwise Item parameter used currently for Fireworks to correctly set entity metadata based on item metadata */ - 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 + 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)); } |