diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 19:19:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 19:19:53 +0300 |
commit | db43ad3b72fe207e6cc03a1fd341ea598d123319 (patch) | |
tree | 6d338e9e0bff66e7751d6d0866f32388bdcfe59c /src/being/localplayer.cpp | |
parent | 65a88f27b994f7ade178368c569d466f6344ded6 (diff) | |
download | manaverse-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.gz manaverse-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.bz2 manaverse-db43ad3b72fe207e6cc03a1fd341ea598d123319.tar.xz manaverse-db43ad3b72fe207e6cc03a1fd341ea598d123319.zip |
add pickup and drop sound effects.
Works like equip/unequip effects.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 657436f49..787d59038 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -898,7 +898,7 @@ bool LocalPlayer::pickUp(FloorItem *const item) { if (actorSpriteManager && actorSpriteManager->checkForPickup(item)) { - Net::getPlayerHandler()->pickUp(item); + PlayerInfo::pickUpItem(item, true); mPickUpTarget = nullptr; } } |