summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index fac0d5d0..3f1a3904 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -48,6 +48,7 @@
#include "net/net.h"
#include "net/partyhandler.h"
#include "net/playerhandler.h"
+#include "net/specialhandler.h"
#include "net/tradehandler.h"
#ifdef TMWSERV_SUPPORT
@@ -661,7 +662,7 @@ void LocalPlayer::attack()
*/
void LocalPlayer::useSpecial(int special)
{
- Net::GameServer::Player::useSpecial(special);
+ Net::getSpecialHandler()->use(special);
}
#endif