Add missing deh entry for k_starpostflip
This commit is contained in:
1 parent
9ff8b73936
commit
ee3580098b
1 file changed
+7
@@ -8340,6 +8340,7 @@ static const char *const KARTSTUFF_LIST[] = {
|
|||||||
"NEXTCHECK",
|
"NEXTCHECK",
|
||||||
"WAYPOINT",
|
"WAYPOINT",
|
||||||
"STARPOSTWP",
|
"STARPOSTWP",
|
||||||
|
"STARPOSTFLIP",
|
||||||
"RESPAWN",
|
"RESPAWN",
|
||||||
"DROPDASH",
|
"DROPDASH",
|
||||||
|
|
||||||
@@ -9354,6 +9355,12 @@ void DEH_Check(void)
|
|||||||
const size_t dehpowers = sizeof(POWERS_LIST)/sizeof(const char*);
|
const size_t dehpowers = sizeof(POWERS_LIST)/sizeof(const char*);
|
||||||
const size_t dehkartstuff = sizeof(KARTSTUFF_LIST)/sizeof(const char*);
|
const size_t dehkartstuff = sizeof(KARTSTUFF_LIST)/sizeof(const char*);
|
||||||
const size_t dehcolors = sizeof(COLOR_ENUMS)/sizeof(const char*);
|
const size_t dehcolors = sizeof(COLOR_ENUMS)/sizeof(const char*);
|
||||||
|
#ifdef HAVE_BLUA
|
||||||
|
const size_t dehkartstuff = sizeof(KARTSTUFF_LIST)/sizeof(const char *);
|
||||||
|
|
||||||
|
if (dehkartstuff != NUMKARTSTUFF)
|
||||||
|
I_Error("You forgot to update the Dehacked kartstuff list, you dolt!\n(%d props defined, versus %s in the Dehacked list)\n", NUMKARTSTUFF, sizeu1(dehstates));
|
||||||
|
#endif
|
||||||
|
|
||||||
if (dehstates != S_FIRSTFREESLOT)
|
if (dehstates != S_FIRSTFREESLOT)
|
||||||
I_Error("You forgot to update the Dehacked states list, you dolt!\n(%d states defined, versus %s in the Dehacked list)\n", S_FIRSTFREESLOT, sizeu1(dehstates));
|
I_Error("You forgot to update the Dehacked states list, you dolt!\n(%d states defined, versus %s in the Dehacked list)\n", S_FIRSTFREESLOT, sizeu1(dehstates));
|
||||||
|
|||||||
Reference in new issue
Block a user