summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-07-13 15:09:08 +0200
committerTycho <work.tycho+git@gmail.com>2014-07-13 16:16:49 +0200
commit4a6d606f7499582e6ec2953e663e98153a19a613 (patch)
tree31edb60180c1d863cb0c10cf4fac6b99025e0414 /src/World.h
parentFixed MSVC warnings in SoundEffect functions. (diff)
downloadcuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.gz
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.bz2
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.lz
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.xz
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.zst
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.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 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)); }