Changed some int parameters to vector parameters (#3937)
This commit is contained in:
@@ -49,10 +49,10 @@ public:
|
||||
static std::unique_ptr<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 = nullptr);
|
||||
|
||||
/** 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);
|
||||
virtual void OnHitSolidBlock(Vector3d a_HitPos, eBlockFace a_HitFace);
|
||||
|
||||
/** Called by the physics blocktracer when the entity hits another entity */
|
||||
virtual void OnHitEntity(cEntity & a_EntityHit, const Vector3d & a_HitPos);
|
||||
virtual void OnHitEntity(cEntity & a_EntityHit, Vector3d a_HitPos);
|
||||
|
||||
/** Called by Chunk when the projectile is eligible for player collection */
|
||||
virtual void CollectedBy(cPlayer & a_Dest);
|
||||
|
||||
Reference in New Issue
Block a user