fix shop ownership of saddle dropped by dead pet (trunk only)
From a bug report, you could obtain a saddle for free if it was dropped (while worn) by a dying pet inside a shop. That's intentional, but it was happening even when the hero was not in the shop, which doesn't seem right. Change things to only set it no_charge if hero is within the same shop (including standing in the doorway or a temporary wall breach, not just when all the way inside) at the time of the drop.
This commit is contained in:
@@ -364,6 +364,8 @@ surviving in lava boils away carried potions, but dying in lava and being
|
||||
life-saved or leaving bones would keep them intact
|
||||
when applicable, give "your body rises from the dead as an <undead>..."
|
||||
even when bones data isn't being saved
|
||||
have shk claim ownership of worn saddle dropped by dying pet if hero is
|
||||
not within the same shop at the time of the drop
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user