summaryrefslogtreecommitdiffstats
path: root/src/Entities/Painting.h
diff options
context:
space:
mode:
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;