]> granicus.if.org Git - nethack/commit
hangup tweaks (trunk only)
authornethack.rankin <nethack.rankin>
Fri, 19 Jan 2007 03:02:05 +0000 (03:02 +0000)
committernethack.rankin <nethack.rankin>
Fri, 19 Jan 2007 03:02:05 +0000 (03:02 +0000)
commite93303eae4ca605d116a4c281541c55d53e67da9
tree96ce7ef4feff470ee1312e101aae318167ad8e56
parent697ec97812ffd55273921cc092808bb6f03a69c3
hangup tweaks (trunk only)

     Fix a typo in some conditional (NOSAVEONHANGUP) code, and tweak
SAFERHANGUP so that it doesn't defer hangup handling if the game hasn't
started yet or has already finished (it's possible to be waiting for a
--More-- prompt at end of game code before the hangup handler is reset,
so the regular handler could be called in that state).  Also, undefine
SAFERHANGUP if NOSAVEONHANGUP is defined, since there's no point in
deferring hangup for the latter.
include/global.h
src/cmd.c