Don't merge stacks w/ different was_thrown/dropped
Previously, if you threw a dagger into a pile of daggers, you'd pick up the entire pile with pickup_thrown on. Since pickup_thrown and dropped_nopick options are supposed to apply specifically to items you've handled, don't merge items with different values in those fields.
This commit is contained in:
@@ -4822,7 +4822,9 @@ mergable(
|
||||
|
||||
if (obj->unpaid != otmp->unpaid || obj->spe != otmp->spe
|
||||
|| obj->no_charge != otmp->no_charge || obj->obroken != otmp->obroken
|
||||
|| obj->otrapped != otmp->otrapped || obj->lamplit != otmp->lamplit)
|
||||
|| obj->otrapped != otmp->otrapped || obj->lamplit != otmp->lamplit
|
||||
|| obj->was_thrown != otmp->was_thrown
|
||||
|| obj->was_dropped != otmp->was_dropped)
|
||||
return FALSE;
|
||||
|
||||
if (obj->oclass == FOOD_CLASS
|
||||
|
||||
Reference in New Issue
Block a user