summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-07-13 16:48:13 +0200
committerMattes D <github@xoft.cz>2014-07-13 16:48:13 +0200
commit760fe6b99d63e99ff7468312852a51b5c4545eb2 (patch)
tree30c62bd1f4e1f95bc06ef5f2b833f3327b540ec5 /src/World.h
parentFixed MSVC warnings in SoundEffect functions. (diff)
parentAdjusted calls to CreateProjectile that passed Items (diff)
downloadcuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.tar
cuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.tar.gz
cuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.tar.bz2
cuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.tar.lz
cuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.tar.xz
cuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.tar.zst
cuberite-760fe6b99d63e99ff7468312852a51b5c4545eb2.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)); }