summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-27 00:29:14 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-02-27 00:33:52 +0100
commitbaf2d8892127cd6da9d2f6f2f8d991d617c87800 (patch)
tree2f3c2f8d3d9e2659f068e78017a934c195ba77f2 /src/World.h
parentFixed a gcc warning in FastNBT.h. (diff)
downloadcuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.tar
cuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.tar.gz
cuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.tar.bz2
cuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.tar.lz
cuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.tar.xz
cuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.tar.zst
cuberite-baf2d8892127cd6da9d2f6f2f8d991d617c87800.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index 4b74f7aba..4fdbd8c0d 100644
--- a/src/World.h
+++ b/src/World.h
@@ -693,7 +693,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)); }