Comment on something I misunderstood

This commit is contained in:
2025-03-19 11:41:40 -05:00
parent 07bbf1b8ef
commit 1c99e963d4

View File

@@ -215,6 +215,7 @@ void give_thing(short pc_num, short item_num) {
if(!univ.party[who_to].has_space())
ASB("Can't give: PC has max. # of items.");
else ASB("Can't give: PC carrying too much.");
// Can't give to the recipient. Put charges back in giver's inventory:
if(how_many > 0)
univ.party[pc_num].items[item_num].charges += how_many;
}