summaryrefslogtreecommitdiff
path: root/src/monster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/monster.cpp')
-rw-r--r--src/monster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/monster.cpp b/src/monster.cpp
index 9f12ebf4..cc529196 100644
--- a/src/monster.cpp
+++ b/src/monster.cpp
@@ -125,7 +125,7 @@ void Monster::setAction(Action action)
//attack particle effect
particleEffect = getInfo().getAttackParticleEffect();
- if (particleEffect != "" && mParticleEffects)
+ if (!particleEffect.empty() && mParticleEffects)
{
switch (mDirection)
{