summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 90638ef55..333e60d12 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -4496,7 +4496,7 @@ void Being::updateHit(const int amount) restrict2
Equipment *Being::getEquipment() restrict2
{
- Equipment *restrict const eq = new Equipment();
+ Equipment *restrict const eq = new Equipment;
Equipment::Backend *restrict const bk = new BeingEquipBackend(this);
eq->setBackend(bk);
return eq;
@@ -4845,7 +4845,7 @@ void Being::addItemParticles(const int id,
ParticleInfo *restrict pi = nullptr;
if (it == mSpriteParticles.end())
{
- pi = new ParticleInfo();
+ pi = new ParticleInfo;
mSpriteParticles[id] = pi;
}
else
@@ -4883,7 +4883,7 @@ void Being::addItemParticlesCards(const int id,
ParticleInfo *restrict pi = nullptr;
if (it == mSpriteParticles.end())
{
- pi = new ParticleInfo();
+ pi = new ParticleInfo;
mSpriteParticles[id] = pi;
}
else