summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-06 21:44:55 +0200
committerMattes D <github@xoft.cz>2014-05-06 21:44:55 +0200
commite400b1acd8b0c1457f33bc1730996a3530fa0a4f (patch)
treecd26c0d2b87b62882bcc7b64503de408dd391e6f /src/World.h
parentChanged cPieceGenerator to support pairings. (diff)
parentMerge branch 'master' into fixes (diff)
downloadcuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.tar
cuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.tar.gz
cuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.tar.bz2
cuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.tar.lz
cuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.tar.xz
cuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.tar.zst
cuberite-e400b1acd8b0c1457f33bc1730996a3530fa0a4f.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World.h b/src/World.h
index de0a257f9..86cbb3e7e 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! */