'selectsaved' again - update EDITLEVEL again
The role, race, gender, and alignment string values are 3 letters preceded by a dash. I was looking at "name-race-role-gend-algn" and mistakenly treated them as 4 letters preceded by a dash. Fixing that changes PL_NSIZ_PLUS and there is one item of that size written into save files, so the fix invalidates existing save files.
This commit is contained in:
@@ -432,7 +432,7 @@ extern struct nomakedefs_s nomakedefs;
|
||||
#define PL_FSIZ 32 /* fruit name */
|
||||
#define PL_PSIZ 63 /* player-given names for pets, other monsters, objects */
|
||||
/* room for "name-role-race-gend-algn" plus 1 character playmode code */
|
||||
#define PL_NSIZ_PLUS (PL_NSIZ + 4 * (1 + 4) + 1) /* 53 */
|
||||
#define PL_NSIZ_PLUS (PL_NSIZ + 4 * (1 + 3) + 1) /* 49 */
|
||||
|
||||
#define MAXDUNGEON 16 /* current maximum number of dungeons */
|
||||
#define MAXLEVEL 32 /* max number of levels in one dungeon */
|
||||
|
||||
Reference in New Issue
Block a user