summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-14 10:14:35 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-14 10:33:44 -0600
commitcc0878202c99c896f98918b219253eddcf9abf53 (patch)
treeadced066461c9f987d3e05dba50617f4e8ee3395 /src/localplayer.cpp
parent6d3e53146ba15e4d90670db3067fa7f1a67034e1 (diff)
downloadMana-cc0878202c99c896f98918b219253eddcf9abf53.tar.gz
Mana-cc0878202c99c896f98918b219253eddcf9abf53.tar.bz2
Mana-cc0878202c99c896f98918b219253eddcf9abf53.tar.xz
Mana-cc0878202c99c896f98918b219253eddcf9abf53.zip
Add netcode for specials
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