mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-23 09:41:20 +00:00
REVERSESUPER rises from the grave
This commit is contained in:
parent
228668ce98
commit
abc886b9ac
2 changed files with 7 additions and 0 deletions
|
@ -264,6 +264,11 @@ static inline int lib_getenum(lua_State *L)
|
|||
lua_pushinteger(L, ((lua_Integer)1<<i));
|
||||
return 1;
|
||||
}
|
||||
if (fastcmp(p, "REVERSESUPER"))
|
||||
{
|
||||
lua_pushinteger(L, (lua_Integer)MFE_REVERSESUPER);
|
||||
return 1;
|
||||
}
|
||||
if (mathlib) return luaL_error(L, "mobjeflag '%s' could not be found.\n", word);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -249,6 +249,8 @@ typedef enum
|
|||
MFE_FORCESUPER = 1<<12,
|
||||
// Forces an object to NOT use super sprites with SPR_PLAY.
|
||||
MFE_FORCENOSUPER = 1<<13,
|
||||
// Makes an object use super sprites where they wouldn't have otherwise and vice-versa
|
||||
MFE_REVERSESUPER = MFE_FORCESUPER|MFE_FORCENOSUPER
|
||||
|
||||
// free: to and including 1<<15
|
||||
} mobjeflag_t;
|
||||
|
|
Loading…
Reference in a new issue