diff options
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 |