Browse Source

Fix `RemoveBeltItemById`

pull/4672/head
Gleb Mazovetskiy 4 years ago
parent
commit
9b72565bb0
  1. 2
      Source/inv.h

2
Source/inv.h

@ -354,7 +354,7 @@ inline bool RemoveInventoryItemById(Player &player, _item_indexes id)
*/
inline bool RemoveBeltItemById(Player &player, _item_indexes id)
{
return RemoveInventoryItem(player, [id](const Item &item) {
return RemoveBeltItem(player, [id](const Item &item) {
return item.IDidx == id;
});
}

Loading…
Cancel
Save