diff options
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 31b963ab..c9dc771d 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -738,9 +738,11 @@ void LocalPlayer::attack(Being *target, bool keep) sound.playSfx("sfx/fist-swish.ogg"); } -#ifdef EATHENA_SUPPORT +#ifdef TMWSERV_SUPPORT + if (mLastAction == STAND) +#endif Net::getPlayerHandler()->attack(target->getId()); - +#ifdef EATHENA_SUPPORT if (!keep) stopAttack(); #endif |