diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-06 17:09:16 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2021-04-12 23:35:07 +0200 |
commit | 6e80f7544d786443d3028308e244b04dd8d5abcb (patch) | |
tree | 7d9cd372cefa110a4a7c14078a04e9829cba00f4 /src/Entities/ProjectileEntity.cpp | |
parent | Streamline player abilities handling (diff) | |
download | cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.gz cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.bz2 cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.lz cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.xz cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.tar.zst cuberite-6e80f7544d786443d3028308e244b04dd8d5abcb.zip |
Diffstat (limited to 'src/Entities/ProjectileEntity.cpp')
-rw-r--r-- | src/Entities/ProjectileEntity.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/ProjectileEntity.cpp b/src/Entities/ProjectileEntity.cpp index c72cebaaf..745f7de13 100644 --- a/src/Entities/ProjectileEntity.cpp +++ b/src/Entities/ProjectileEntity.cpp @@ -219,7 +219,7 @@ protected: //////////////////////////////////////////////////////////////////////////////// // cProjectileEntity: -cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, Vector3d a_Pos, double a_Width, double a_Height): +cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, Vector3d a_Pos, float a_Width, float a_Height): Super(etProjectile, a_Pos, a_Width, a_Height), m_ProjectileKind(a_Kind), m_CreatorData( @@ -237,7 +237,7 @@ cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, Vector3d -cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed, double a_Width, double a_Height): +cProjectileEntity::cProjectileEntity(eKind a_Kind, cEntity * a_Creator, Vector3d a_Pos, Vector3d a_Speed, float a_Width, float a_Height): cProjectileEntity(a_Kind, a_Creator, a_Pos, a_Width, a_Height) { SetSpeed(a_Speed); |