]> granicus.if.org Git - nethack/commit
boiling oil (trunk only)
authornethack.rankin <nethack.rankin>
Sun, 17 Dec 2006 04:43:55 +0000 (04:43 +0000)
committernethack.rankin <nethack.rankin>
Sun, 17 Dec 2006 04:43:55 +0000 (04:43 +0000)
commitcc19fff23de617abfa728e13076a34bc41f6d2b0
tree26cddccbe83c4836b200475201137d9a7c2b3628
parent2af813f9dae019c7816273c7ba139567cf4d4ba5
boiling oil (trunk only)

     A suggestion from the newsgroup:  when potions are hit by fire and
get the "boil and explode" result, potions of oil should burn instead of
boil.  Even though oil can be heated to boiling, nethack's potions of oil
are noticeably flammable [just (a)pply one...] so having them burn makes
sense.  It's just a message change; no actual explosion has been added.

     destroy_strings[] was implemented as an {N} x {3} array that used
manually computed indices into one-dimension.  This changes it into a two-
dimensional array instead.  However, it's still being indexed by a bunch
of magic numbers.
src/trap.c
src/zap.c