fix compatability checking for development
It is astounding that after all this time no one noticed that incrementing EDITLEVEL wasn't doing the job it's intended to do. Diagnosed by entrez: since VERSION_COMPATIBILITY was defined as 3.7.0-0 and up, increasing the fourth component wasn't resulting in old 3.7.0-x files being rejected. This increments EDITLEVEL yet again, because my testing after commenting out VERSION_COMPATIBILITY still wasn't rejecting older files. Proably because the oldest I had available already had the verison info with the preceding EDITLEVEL so weren't actually out of date yet. Once I had old files be rejected, I discovered that the rejection message was invisible (for tty on OSX). The message line showed spaces, matching the length of the intended message, followed by --More--. This fixes that too.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
HDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.892 $ $NHDT-Date: 1650963745 2022/04/26 09:02:25 $
|
||||
HDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.902 $ $NHDT-Date: 1651297020 2022/04/30 05:37:00 $
|
||||
|
||||
General Fixes and Modified Features
|
||||
-----------------------------------
|
||||
@@ -901,10 +901,15 @@ for force-fight against edge of level, report "you harmlessly attack unknown
|
||||
using wizard mode ^V in endgame to return to previously visited Plane of Water
|
||||
now gets the same air bubbles back instead of a replacement set;
|
||||
likewise for clouds on Plane of Air
|
||||
on tty at least, "version incompatibility for save/123xyzzy" was invisible:
|
||||
a blank message of appropriate length followed by --More--
|
||||
|
||||
|
||||
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository
|
||||
------------------------------------------------------------------
|
||||
incrementing EDITLEVEL to invalidate incompatible save files was not working
|
||||
as intended because VERSION_COMPABILITY was defined as 3.7.0-0 and up
|
||||
rather than as 3.7.0-N for the current EDITLEVEL 'N'; undefine it
|
||||
fix compile when DLB isn't defined
|
||||
urealtime.realtime was being incorrectly calculated
|
||||
revised "mysterious force" when climbing out of gehennom could generate
|
||||
|
||||
Reference in New Issue
Block a user