Allow added items in character editor to exceed max weight,
and give error if not enough room
This commit is contained in:
@@ -322,7 +322,8 @@ void handle_item_menu(int item_hit) {
|
||||
cItem store_i;
|
||||
store_i = univ.scenario.scen_items[item_hit];
|
||||
store_i.ident = true;
|
||||
univ.party[current_active_pc].give_item(store_i,false);
|
||||
if(!univ.party[current_active_pc].give_item(store_i,GIVE_ALLOW_OVERLOAD))
|
||||
giveError("Sorry, that PC has no free inventory slots left! You'll have to either drop something or give it to a different PC.");
|
||||
}
|
||||
|
||||
bool verify_restore_quit(std::string dlog) {
|
||||
|
Reference in New Issue
Block a user