diff options
author | archshift <admin@archshift.com> | 2014-04-25 14:49:18 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-04-25 14:49:18 +0200 |
commit | 256691461bd9c4719e94d17942372ef8302a3607 (patch) | |
tree | 7eec92a630024240c8708fb91b367499a936a457 /src/Entities/ProjectileEntity.h | |
parent | Rename spawn chicken method, Initialize m_HasTeleported. (diff) | |
download | cuberite-256691461bd9c4719e94d17942372ef8302a3607.tar cuberite-256691461bd9c4719e94d17942372ef8302a3607.tar.gz cuberite-256691461bd9c4719e94d17942372ef8302a3607.tar.bz2 cuberite-256691461bd9c4719e94d17942372ef8302a3607.tar.lz cuberite-256691461bd9c4719e94d17942372ef8302a3607.tar.xz cuberite-256691461bd9c4719e94d17942372ef8302a3607.tar.zst cuberite-256691461bd9c4719e94d17942372ef8302a3607.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/ProjectileEntity.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/ProjectileEntity.h b/src/Entities/ProjectileEntity.h index 90d44ed91..5aa489ff8 100644 --- a/src/Entities/ProjectileEntity.h +++ b/src/Entities/ProjectileEntity.h @@ -210,6 +210,7 @@ protected: virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override; virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override; + // Randomly decides whether to spawn a chicken where the egg lands. void TrySpawnChicken(const Vector3d & a_HitPos); // tolua_begin @@ -241,6 +242,7 @@ protected: virtual void OnHitSolidBlock(const Vector3d & a_HitPos, eBlockFace a_HitFace) override; virtual void OnHitEntity (cEntity & a_EntityHit, const Vector3d & a_HitPos) override; + // Teleports the user where the ender pearl lands. void TeleportUser(const Vector3d & a_HitPos); // tolua_begin |