diff options
Diffstat (limited to 'src/net/equipmenthandler.cpp')
-rw-r--r-- | src/net/equipmenthandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/equipmenthandler.cpp b/src/net/equipmenthandler.cpp index 60be5c74..84da9365 100644 --- a/src/net/equipmenthandler.cpp +++ b/src/net/equipmenthandler.cpp @@ -141,7 +141,7 @@ void EquipmentHandler::handleMessage(MessageIn *msg) if (!being) break; - being->setVisibleEquipment(Being::WEAPON_SPRITE, itemId); + being->setSprite(Being::WEAPON_SPRITE, itemId); break; case SMSG_PLAYER_UNEQUIP: @@ -184,7 +184,7 @@ void EquipmentHandler::handleMessage(MessageIn *msg) case 536: case 1200: case 1201: - player_node->setVisibleEquipment(Being::WEAPON_SPRITE, 0); + player_node->setSprite(Being::WEAPON_SPRITE, 0); // TODO: Why this break? Shouldn't a weapon be // unequipped in inventory too? break; |