allow clean build without using -Wno-missing-field-initializers

This commit is contained in:
nhmall
2023-11-20 14:25:09 -05:00
parent 983000618c
commit 2f167a4672
4 changed files with 44 additions and 8 deletions

View File

@@ -569,7 +569,7 @@ const struct Role roles[NUM_ROLES+1] = {
SPE_MAGIC_MISSILE,
-4 },
/* Array terminator */
{ { 0, 0 } }
UNDEFINED_ROLE,
};
/* Table of all races */
@@ -676,7 +676,7 @@ const struct Race races[] = {
{ 1, 0, 1, 0, 1, 0 } /* Energy */
},
/* Array terminator */
{ 0, 0, 0, 0, { 0, 0 }, NON_PM }
UNDEFINED_RACE,
};
/* Table of all genders */