summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-23 22:06:07 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-04-23 22:06:07 +0200
commitf763242e5c5d8e6469685c4be95d3dc264ed6a67 (patch)
treeb6ce8b9927109ea9c4fe51ba7c4ce90dff05ec7c /src/World.h
parentCompilation fix (diff)
downloadcuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.tar
cuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.tar.gz
cuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.tar.bz2
cuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.tar.lz
cuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.tar.xz
cuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.tar.zst
cuberite-f763242e5c5d8e6469685c4be95d3dc264ed6a67.zip
Diffstat (limited to '')
-rw-r--r--src/World.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index e08ef7f53..61733bca0 100644
--- a/src/World.h
+++ b/src/World.h
@@ -710,7 +710,9 @@ public:
virtual int SpawnMob(double a_PosX, double a_PosY, double a_PosZ, cMonster::eType a_MonsterType) override; // tolua_export
int SpawnMobFinalize(cMonster* a_Monster);
- /** Creates a projectile of the specified type. Returns the projectile's EntityID if successful, <0 otherwise */
+ /** 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
/** Returns a random number from the m_TickRand in range [0 .. a_Range]. To be used only in the tick thread! */