summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
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.cpp
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.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)