diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-11 16:24:05 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-11 16:24:05 +0100 |
commit | ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74 (patch) | |
tree | 7656f5b0b43fa48679aef35d41197c460851834a /src/Entities | |
parent | Snowballs now actualy hurt other entities. (diff) | |
download | cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.tar cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.tar.gz cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.tar.bz2 cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.tar.lz cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.tar.xz cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.tar.zst cuberite-ef3c5a97a46212a0f8cd1a05125f4b75e3f32b74.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/ProjectileEntity.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/ProjectileEntity.cpp b/src/Entities/ProjectileEntity.cpp index 92890919c..37238a0c0 100644 --- a/src/Entities/ProjectileEntity.cpp +++ b/src/Entities/ProjectileEntity.cpp @@ -677,7 +677,7 @@ void cThrownSnowballEntity::OnHitEntity(cEntity & a_EntityHit, const Vector3d & TotalDamage = 1; } } - a_EntityHit.TakeDamage(dtRangedAttack, m_Creator, TotalDamage, 1); + a_EntityHit.TakeDamage(dtRangedAttack, this, TotalDamage, 1); Destroy(true); } |