diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-14 10:14:35 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-14 10:33:44 -0600 |
commit | cc0878202c99c896f98918b219253eddcf9abf53 (patch) | |
tree | adced066461c9f987d3e05dba50617f4e8ee3395 /src/localplayer.cpp | |
parent | 6d3e53146ba15e4d90670db3067fa7f1a67034e1 (diff) | |
download | mana-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.cpp | 3 |
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 |