]> granicus.if.org Git - nethack/commit
fix #M63: Problem with magic lamp changing
authornethack.rankin <nethack.rankin>
Sun, 24 Apr 2005 03:43:42 +0000 (03:43 +0000)
committernethack.rankin <nethack.rankin>
Sun, 24 Apr 2005 03:43:42 +0000 (03:43 +0000)
commita7da90356190a66e16482032004f952577b592a4
treec69d5cb742fbc249cdb596d6d3a06d1ae88b76cb
parente88f7cce05d5342bd6e0df1a80c27e80c00cb2cc
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?
doc/fixes34.4
src/apply.c
src/fountain.c
src/potion.c