diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-27 00:29:14 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-27 00:33:52 +0100 |
commit | baf2d8892127cd6da9d2f6f2f8d991d617c87800 (patch) | |
tree | 2f3c2f8d3d9e2659f068e78017a934c195ba77f2 /src/World.cpp | |
parent | Fixed a gcc warning in FastNBT.h. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/World.cpp b/src/World.cpp index ffdae2a37..ffb463169 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -2904,9 +2904,9 @@ int cWorld::SpawnMobFinalize(cMonster * a_Monster) -int cWorld::CreateProjectile(double a_PosX, double a_PosY, double a_PosZ, cProjectileEntity::eKind a_Kind, cEntity * a_Creator, const Vector3d * a_Speed) +int cWorld::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) { - cProjectileEntity * Projectile = cProjectileEntity::Create(a_Kind, a_Creator, a_PosX, a_PosY, a_PosZ, a_Speed); + cProjectileEntity * Projectile = cProjectileEntity::Create(a_Kind, a_Creator, a_PosX, a_PosY, a_PosZ, a_Item, a_Speed); if (Projectile == NULL) { return -1; |