summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/localplayer.cpp2
-rw-r--r--src/player.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index bcf3fb15..2607b460 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -138,7 +138,7 @@ void LocalPlayer::logic()
if (mEquippedWeapon)
particleEffect = mEquippedWeapon->getParticleEffect();
- if (!particleEffect.empty() && mParticleEffects)
+ if (!particleEffect.empty() && mParticleEffects && mFrame == 1)
{
switch (mDirection)
{
diff --git a/src/player.cpp b/src/player.cpp
index 16f810ad..61e91613 100644
--- a/src/player.cpp
+++ b/src/player.cpp
@@ -108,7 +108,7 @@ void Player::logic()
if (mEquippedWeapon)
particleEffect = mEquippedWeapon->getParticleEffect();
- if (!particleEffect.empty() && mParticleEffects)
+ if (!particleEffect.empty() && mParticleEffects && mFrame == 1)
{
switch (mDirection)
{