summaryrefslogtreecommitdiffstats
path: root/src/Entities/Painting.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Entities/Painting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Painting.cpp b/src/Entities/Painting.cpp
index d12469f98..0f2139cd1 100644
--- a/src/Entities/Painting.cpp
+++ b/src/Entities/Painting.cpp
@@ -34,7 +34,7 @@ void cPainting::GetDrops(cItems & a_Items, cEntity * a_Killer)
{
if ((a_Killer != nullptr) && a_Killer->IsPlayer() && !static_cast<cPlayer *>(a_Killer)->IsGameModeCreative())
{
- a_Items.push_back(cItem(E_ITEM_PAINTING));
+ a_Items.emplace_back(E_ITEM_PAINTING);
}
}