generic obj addition broke obj entity count use

yet another EDITLEVEL bump
This commit is contained in:
nhmall
2024-02-28 16:24:40 -05:00
parent 3edd3e5869
commit b53a43027f
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
* Incrementing EDITLEVEL can be used to force invalidation of old bones * Incrementing EDITLEVEL can be used to force invalidation of old bones
* and save files. * and save files.
*/ */
#define EDITLEVEL 100 #define EDITLEVEL 101
/* /*
* Development status possibilities. * Development status possibilities.
+2 -4
View File
@@ -306,11 +306,9 @@ make_version(void)
for (i = 1; artifact_names[i]; i++) for (i = 1; artifact_names[i]; i++)
continue; continue;
version.entity_count = (unsigned long) (i - 1); version.entity_count = (unsigned long) (i - 1);
for (i = 1; objects[i].oc_class != ILLOBJ_CLASS; i++) i = NUM_OBJECTS;
continue;
version.entity_count = (version.entity_count << 12) | (unsigned long) i; version.entity_count = (version.entity_count << 12) | (unsigned long) i;
for (i = 0; mons[i].mlet; i++) i = NUMMONS;
continue;
version.entity_count = (version.entity_count << 12) | (unsigned long) i; version.entity_count = (version.entity_count << 12) | (unsigned long) i;
/* /*
* Value used for compiler (word size/field alignment/padding) check. * Value used for compiler (word size/field alignment/padding) check.