diff options
author | Mattes D <github@xoft.cz> | 2014-07-13 16:48:13 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-13 16:48:13 +0200 |
commit | 760fe6b99d63e99ff7468312852a51b5c4545eb2 (patch) | |
tree | 30c62bd1f4e1f95bc06ef5f2b833f3327b540ec5 /src/Entities/ProjectileEntity.h | |
parent | Fixed MSVC warnings in SoundEffect functions. (diff) | |
parent | Adjusted calls to CreateProjectile that passed Items (diff) | |
download | cuberite-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/Entities/ProjectileEntity.h')
-rw-r--r-- | src/Entities/ProjectileEntity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ProjectileEntity.h b/src/Entities/ProjectileEntity.h index 7b38169e2..14cee1272 100644 --- a/src/Entities/ProjectileEntity.h +++ b/src/Entities/ProjectileEntity.h @@ -46,7 +46,7 @@ public: cProjectileEntity(eKind a_Kind, cEntity * a_Creator, double a_X, double a_Y, double a_Z, double a_Width, double a_Height); cProjectileEntity(eKind a_Kind, cEntity * a_Creator, const Vector3d & a_Pos, const Vector3d & a_Speed, double a_Width, double a_Height); - static cProjectileEntity * Create(eKind a_Kind, cEntity * a_Creator, double a_X, double a_Y, double a_Z, const cItem & a_Item, const Vector3d * a_Speed = NULL); + static cProjectileEntity * Create(eKind a_Kind, cEntity * a_Creator, double a_X, double a_Y, double a_Z, const cItem * a_Item, const Vector3d * a_Speed = NULL); /// Called by the physics blocktracer when the entity hits a solid block, the hit position and the face hit (BLOCK_FACE_) is given virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace); |