fix github issue #106 - polymorph panic
Fixes #106 If dipping a worn amulet into a potion of polymorph turns it into an amulet of change, the game panics while trying to use up that amulet when the new one hasn't replaced the old one in inventory yet. Simply reordering the relevant code isn't sufficient to fix things: once it is in inventory and can be successfully used up, later code would end up deferencing a stale pointer because it was unaware of the deletion.
This commit is contained in:
@@ -38,6 +38,7 @@ internals for 'sortloot' option have been changed to not reorder the actual
|
||||
full-pack identify won't result in possibly skipping some items
|
||||
give vault guards a cursed tin whistle since there is a shrill whistling
|
||||
sound if hero teleports out of vault while being confronted by guard
|
||||
polymorphing worn amulet triggers panic if it turns into amulet of change
|
||||
|
||||
|
||||
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user