diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-30 13:28:34 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2006-12-30 13:28:34 +0000 |
commit | 8b72679ea1d934f24e7864a843dd92a99e2cdb5b (patch) | |
tree | 7c4d2c8abbbdd394142d65ecadfc6a0a67f5e3d6 /src/localplayer.cpp | |
parent | a89d148280158e22723496181414f2c3d6ac676b (diff) | |
download | mana-8b72679ea1d934f24e7864a843dd92a99e2cdb5b.tar.gz mana-8b72679ea1d934f24e7864a843dd92a99e2cdb5b.tar.bz2 mana-8b72679ea1d934f24e7864a843dd92a99e2cdb5b.tar.xz mana-8b72679ea1d934f24e7864a843dd92a99e2cdb5b.zip |
Changed attack message to send the direction the player is visually facing.
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 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 |