summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2014-07-13 15:09:08 +0200
committerTycho <work.tycho+git@gmail.com>2014-07-13 16:16:49 +0200
commit4a6d606f7499582e6ec2953e663e98153a19a613 (patch)
tree31edb60180c1d863cb0c10cf4fac6b99025e0414 /src/World.cpp
parentFixed MSVC warnings in SoundEffect functions. (diff)
downloadcuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.gz
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.bz2
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.lz
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.xz
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.tar.zst
cuberite-4a6d606f7499582e6ec2953e663e98153a19a613.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)