]> granicus.if.org Git - nethack/commit
Less misleading message when impossible() is called
authorAlex Smith <ais523@nethack4.org>
Thu, 16 Nov 2017 16:42:16 +0000 (16:42 +0000)
committerAlex Smith <ais523@nethack4.org>
Thu, 16 Nov 2017 17:19:19 +0000 (17:19 +0000)
commit8e1b28a4532222bc33c21adf86910dfa904094b5
treeeb456b34fd5b7b32d74e62ead880c00f6da56678
parent761180ce3613f2f588443503de786ccf221e56bf
Less misleading message when impossible() is called

Telling people to #quit due to something going wrong internally is
probably a bad idea; the game might or might not be corrupted, but
even if it is, most players will want to play on rather than lose
their game entirely.

Instead, advise saving and reloading; this will fix the underlying
cause of many impossible()s (which are normally related to
inconsistent internal structures; the save file format has much
less redundancy, therefore less chance of inconsistency, than the
in-memory format).

Thanks to AmyBSOD for reminding me to do this.
src/pline.c