修复炸弹逻辑
This commit is contained in:
parent
22f375673a
commit
17426c8a6b
@ -360,6 +360,7 @@ void Player::LootInteraction(Loot* entity)
|
|||||||
weapon->weapon_lv = 1;
|
weapon->weapon_lv = 1;
|
||||||
weapon->num = 0;
|
weapon->num = 0;
|
||||||
weapon->meta = item_meta;
|
weapon->meta = item_meta;
|
||||||
|
inventory[item_meta->i->_inventory_slot()] -= entity->count;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item_meta->i->_inventory_slot() > 12) {
|
if (item_meta->i->_inventory_slot() > 12) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user