diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-11-04 22:53:37 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-11-04 22:53:37 +0100 |
commit | 3d00e52d42edc69eb777c90c6e6f479a5a473598 (patch) | |
tree | 9ed2245653c77b7de86678c345254fe70342126e /src/Entities/ThrownEggEntity.cpp | |
parent | More player speed/position overrides (diff) | |
download | cuberite-fixesandfeatures.tar cuberite-fixesandfeatures.tar.gz cuberite-fixesandfeatures.tar.bz2 cuberite-fixesandfeatures.tar.lz cuberite-fixesandfeatures.tar.xz cuberite-fixesandfeatures.tar.zst cuberite-fixesandfeatures.zip |
Diffstat (limited to 'src/Entities/ThrownEggEntity.cpp')
-rw-r--r-- | src/Entities/ThrownEggEntity.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Entities/ThrownEggEntity.cpp b/src/Entities/ThrownEggEntity.cpp index 5ae85bee8..a6ae549ff 100644 --- a/src/Entities/ThrownEggEntity.cpp +++ b/src/Entities/ThrownEggEntity.cpp @@ -7,11 +7,10 @@ -cThrownEggEntity::cThrownEggEntity(cEntity * a_Creator, double a_X, double a_Y, double a_Z, const Vector3d & a_Speed) : - super(pkEgg, a_Creator, a_X, a_Y, a_Z, 0.25, 0.25), +cThrownEggEntity::cThrownEggEntity(CreateEntityInfo a_Info, cEntity * a_Creator) : + super(a_Info, pkEgg, a_Creator, 0.25, 0.25), m_DestroyTimer(-1) { - SetSpeed(a_Speed); } |