From 8b72679ea1d934f24e7864a843dd92a99e2cdb5b Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sat, 30 Dec 2006 13:28:34 +0000 Subject: Changed attack message to send the direction the player is visually facing. --- src/localplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2