From a0e51612ccfac519890dca4afea38e5478211fec Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Wed, 1 Apr 2009 11:28:25 -0600 Subject: Fix a bug for TMWServ compilation --- src/localplayer.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2