fix BB inventory desync when buying consumables from shop

This commit is contained in:
Martin Michelsen
2023-12-10 21:14:18 -08:00
parent 60c1aa71dc
commit 2f32e8ab7d
3 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ void send_drop_item(std::shared_ptr<Lobby> l, const ItemData& item,
void send_drop_stacked_item(std::shared_ptr<ServerState> s, Channel& ch, const ItemData& item, uint8_t floor, float x, float z);
void send_drop_stacked_item(std::shared_ptr<Lobby> l, const ItemData& item, uint8_t floor, float x, float z);
void send_pick_up_item(std::shared_ptr<Client> c, uint32_t id, uint8_t floor);
void send_create_inventory_item(std::shared_ptr<Client> c, const ItemData& item);
void send_create_inventory_item(std::shared_ptr<Client> c, const ItemData& item, bool exclude_c = false);
void send_destroy_item(std::shared_ptr<Client> c, uint32_t item_id, uint32_t amount, bool exclude_c = false);
void send_item_identify_result(std::shared_ptr<Client> c);
void send_bank(std::shared_ptr<Client> c);