mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Add missing deh entry for k_starpostflip
This commit is contained in:
parent
9ff8b73936
commit
ee3580098b
1 changed files with 7 additions and 0 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue