summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-07-13 17:03:29 +0200
committerTycho <work.tycho+git@gmail.com>2014-07-13 17:03:29 +0200
commit6892b448db5f897876657a865fd5bea2785d30a9 (patch)
treef93708e65288648bda310c2b9e11c55663a2fa30 /src/World.cpp
parentFixed Issue with Comparing agast the wrong chest, potentially causing crashes. (diff)
parentMerge pull request #1178 from mc-server/projectilefix (diff)
downloadcuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar
cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.gz
cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.bz2
cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.lz
cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.xz
cuberite-6892b448db5f897876657a865fd5bea2785d30a9.tar.zst
cuberite-6892b448db5f897876657a865fd5bea2785d30a9.zip
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 46a193d4f..ba8add8f0 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -2998,7 +2998,7 @@ 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 cItem & a_Item, 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_Item, a_Speed);
if (Projectile == NULL)