diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | src/localplayer.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,8 @@ * src/being.h, src/being.cpp: Improved movement smoothness by avoiding useless changes of sprite direction. + * src/localplayer.cpp: Changed attack message to send the direction + the player is visually facing. 2006-12-29 Guillaume Melquiond <guillaume.melquiond@gmail.com> diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 68f5d7d9..962a1ae4 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -365,7 +365,7 @@ void LocalPlayer::attack() else sound.playSfx("sfx/fist-swish.ogg"); - Net::GameServer::Player::attack(mDirection); + Net::GameServer::Player::attack(getSpriteDirection()); } Being* LocalPlayer::getTarget() const |