summaryrefslogtreecommitdiffstats
path: root/src/Entities/Painting.h
diff options
context:
space:
mode:
authorRorkh <78957156+Rorkh@users.noreply.github.com>2021-07-28 22:51:59 +0200
committerGitHub <noreply@github.com>2021-07-28 22:51:59 +0200
commit4221e08f3a76dbb1ca2321f58a893b5662d772f4 (patch)
treee107fef78a5960f589ab120f8ea5f63da7ae5617 /src/Entities/Painting.h
parentUpdate to mybed 3.0.0 (#5275) (diff)
downloadcuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.tar
cuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.tar.gz
cuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.tar.bz2
cuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.tar.lz
cuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.tar.xz
cuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.tar.zst
cuberite-4221e08f3a76dbb1ca2321f58a893b5662d772f4.zip
Diffstat (limited to 'src/Entities/Painting.h')
-rw-r--r--src/Entities/Painting.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/Entities/Painting.h b/src/Entities/Painting.h
index 844fd72f5..f6ca5f000 100644
--- a/src/Entities/Painting.h
+++ b/src/Entities/Painting.h
@@ -28,11 +28,7 @@ private:
virtual void SpawnOn(cClientHandle & a_Client) override;
virtual void GetDrops(cItems & a_Items, cEntity * a_Killer) override;
- virtual void KilledBy(TakeDamageInfo & a_TDI) override
- {
- Super::KilledBy(a_TDI);
- Destroy();
- }
+ virtual void KilledBy(TakeDamageInfo & a_TDI) override;
AString m_Name;