diff options
author | madmaxoft <github@xoft.cz> | 2014-07-17 11:01:26 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-07-17 11:01:26 +0200 |
commit | 7d0fc85d0079febec4af110c4d6404944d1f3eb0 (patch) | |
tree | a2f21d0a5575631c959f5e48652e387e72d8c08b /src/Entities/Painting.h | |
parent | Reformatted cItemPotionHandler. (diff) | |
parent | Merge pull request #1193 from mc-server/deathmessages (diff) | |
download | cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.gz cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.bz2 cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.lz cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.xz cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.tar.zst cuberite-7d0fc85d0079febec4af110c4d6404944d1f3eb0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Painting.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Painting.h b/src/Entities/Painting.h index c1024bd1b..30af6d412 100644 --- a/src/Entities/Painting.h +++ b/src/Entities/Painting.h @@ -26,9 +26,9 @@ private: virtual void SpawnOn(cClientHandle & a_Client) override; virtual void Tick(float a_Dt, cChunk & a_Chunk) override; virtual void GetDrops(cItems & a_Items, cEntity * a_Killer) override; - virtual void KilledBy(cEntity * a_Killer) override + virtual void KilledBy(TakeDamageInfo & a_TDI) override { - super::KilledBy(a_Killer); + super::KilledBy(a_TDI); Destroy(); } |