fix #M63: Problem with magic lamp changing

Fix the problem From a bug report, so finding it in a bones file yielded a fully functional magic
lamp.  Fix as user suggested:  convert the lamp first.

     It also left the djinni who would normally have disappeared right after
the wish.  Water demons from fountains have that problem too.  Unfortunately
my fix is a bit buggy:  when removing the monster before granting the wish,
the player can notice.  Is there a straightforward way to display a monster
where none is present on the map?  Or do we need something comparable to the
obj->in_use flag for monsters, so that the bones code can discard particular
ones?
This commit is contained in:
nethack.rankin
2005-04-24 03:43:42 +00:00
parent e88f7cce05
commit a7da903561
4 changed files with 22 additions and 10 deletions
+1
View File
@@ -118,6 +118,7 @@ with astral vision, the ";" command should only display "normal vision"
reanimating a statue containing gold produced double gold
probing the resulting double-gold monster caused "static object freed" panic
cursed wand might explode if used to engrave
fatal wish from magic lamp left functional magic lamp in bones data
Platform- and/or Interface-Specific Fixes