diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-02 19:16:27 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-02 19:16:27 -0700 |
commit | a79d05b01d4a2dc639e6d3a5b7ddd508e64d3511 (patch) | |
tree | 19955d5cc0c651ea62b8eeba69762f0ff722d693 /src/localplayer.cpp | |
parent | 1d7b4c4640635c809feca83e76b1aa62109c0707 (diff) | |
download | mana-a79d05b01d4a2dc639e6d3a5b7ddd508e64d3511.tar.gz mana-a79d05b01d4a2dc639e6d3a5b7ddd508e64d3511.tar.bz2 mana-a79d05b01d4a2dc639e6d3a5b7ddd508e64d3511.tar.xz mana-a79d05b01d4a2dc639e6d3a5b7ddd508e64d3511.zip |
Cut down on constant streaming of attacks. Attacks from players now only
occur on each swing action.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 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) { |