This commit is contained in:
aozhiwei 2021-09-10 09:50:31 +00:00
parent e2e2fefc23
commit 5a2c92cb4e

View File

@ -2120,6 +2120,7 @@ void Human::ProcCamoutflage(AddItemDTO& dto)
{
AddItem(dto.item_meta->i->id(), 1);
dto.handled = true;
need_sync_active_player = true;
}
void Human::ProcSpoils(AddItemDTO& dto)
@ -3296,6 +3297,8 @@ void Human::ProcLootBag(AddItemDTO& dto)
backpack = dto.item_meta->i->id();
RecalcVolume();
dto.handled = true;
need_sync_active_player = true;
SyncAroundPlayers(__FILE__, __LINE__, __func__);
}
void Human::ProcLootProtection(AddItemDTO& dto)
@ -3324,6 +3327,8 @@ void Human::ProcLootProtection(AddItemDTO& dto)
RecalcBaseAttr();
}
dto.handled = true;
need_sync_active_player = true;
SyncAroundPlayers(__FILE__, __LINE__, __func__);
}
void Human::ProcLootSpecItem(AddItemDTO& dto)