mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix mismatched Lua lookup array for karthud constants
This commit is contained in:
parent
1ff321d375
commit
023c09ccda
2 changed files with 7 additions and 8 deletions
|
|
@ -545,7 +545,7 @@ static inline int lib_getenum(lua_State *L)
|
|||
lua_pushinteger(L, i);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
return luaL_error(L, "karthud '%s' could not be found.\n", word);
|
||||
}
|
||||
else if (mathlib && fastncmp("KHUD_",word,5)) { // SOCs are ALL CAPS!
|
||||
p = word+5;
|
||||
|
|
|
|||
|
|
@ -4399,26 +4399,25 @@ const char *COLOR_ENUMS[] = {
|
|||
const char *const KARTHUD_LIST[] = {
|
||||
"ITEMBLINK",
|
||||
"ITEMBLINKMODE",
|
||||
|
||||
"ROULETTEOFFSET",
|
||||
"RINGFRAME",
|
||||
"RINGTICS",
|
||||
"RINGDELAY",
|
||||
"RINGSPBBLOCK",
|
||||
|
||||
"RINGSPBLOCK",
|
||||
"LAPANIMATION",
|
||||
"LAPHAND",
|
||||
|
||||
"FINISH",
|
||||
"FAULT",
|
||||
|
||||
"BOOSTCAM",
|
||||
"DESTBOOSTCAM",
|
||||
"TIMEOVERCAM",
|
||||
|
||||
"AIRCAM",
|
||||
"ENGINESND",
|
||||
"VOICES",
|
||||
"TAUNTVOICES",
|
||||
|
||||
"TAUNTHORNS",
|
||||
"YOUGOTEM",
|
||||
"TRICKCOOL"
|
||||
};
|
||||
|
||||
const char *const HUDITEMS_LIST[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue