fix github issue #587 - incompatible save files

Save files from before the 'disambiguate WHACK' patch were not
necessarily compatible with ones after it, leading to potential
restore problems.

Comments in objclass.h (from before the patch) suggested that
inappropriate assumptions were being made about field layout.
This deliberately introduces new incompatibility and increments
EDITLEVEL to caused earlier save and bones files to be thrown
away.

Fixes #587
This commit is contained in:
PatR
2021-09-12 05:31:01 -07:00
parent d118ac52af
commit 583fb60835
4 changed files with 49 additions and 34 deletions

View File

@@ -803,6 +803,8 @@ if an invisible monster put on or took off armor while out of hero's sight
an item thrown or dropped while swallowed was treated as being picked up by an
unseen monster so object fields {known, dknown, bknown} got cleared
segfault if gremlin fled weaponless hero wearing gold dragon scales/mail
'disambiguate WHACK' patch affected field layout of objects[] but EDITLEVEL
wasn't incremented, allowing incompatable save files to be restored
curses: 'msg_window' option wasn't functional for curses unless the binary
also included tty support