diff options
Diffstat (limited to 'src/game-server/player.cpp')
-rw-r--r-- | src/game-server/player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/player.cpp b/src/game-server/player.cpp index 2160cbb6..f687cba6 100644 --- a/src/game-server/player.cpp +++ b/src/game-server/player.cpp @@ -39,14 +39,14 @@ void Player::update() setStat(STAT_SPEED, getRawStat(STAT_DEXTERITY)); // attacking - if (mIsAttacking) + if (mAction == PLAYER_ATTACK) { // plausibility check of attack command if (mActionTime <= 0) { // request perform attack mActionTime = 1000; - mIsAttacking = false; + mAction = PLAYER_STAND; raiseUpdateFlags(ATTACK); } } |