diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-01 11:28:25 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-01 11:28:25 -0600 |
commit | a0e51612ccfac519890dca4afea38e5478211fec (patch) | |
tree | ab23498a96631cee846518d504a6220e48423a33 /src/localplayer.cpp | |
parent | 2a11fd111231a7e40c560e0240578a2b4a2126c2 (diff) | |
download | mana-a0e51612ccfac519890dca4afea38e5478211fec.tar.gz mana-a0e51612ccfac519890dca4afea38e5478211fec.tar.bz2 mana-a0e51612ccfac519890dca4afea38e5478211fec.tar.xz mana-a0e51612ccfac519890dca4afea38e5478211fec.zip |
Fix a bug for TMWServ compilation
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 19e59f9e..f59b5f05 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -445,6 +445,8 @@ void LocalPlayer::unequipItem(Item *item) mEquipment->removeEquipment(item->getInvIndex()); } +#endif + void LocalPlayer::useItem(Item *item) { // Net::getInvyHandler()->useItem(item); @@ -455,8 +457,6 @@ void LocalPlayer::useItem(Item *item) #endif } -#endif - void LocalPlayer::dropItem(Item *item, int quantity) { // Net::getInvyHandler()->dropItem(item, quantity); @@ -943,7 +943,9 @@ void LocalPlayer::stopAttack() void LocalPlayer::revive() { // Net::getPlayerHandler()->respawn(); +#ifdef EATHENA_SUPPORT playerHandler->respawn(); +#endif } #ifdef TMWSERV_SUPPORT |