diff options
Diffstat (limited to 'src/scriptapi_types.h')
-rw-r--r-- | src/scriptapi_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scriptapi_types.h b/src/scriptapi_types.h index e3a611a9d..1eeed66df 100644 --- a/src/scriptapi_types.h +++ b/src/scriptapi_types.h @@ -51,6 +51,8 @@ bool getboolfield(lua_State *L, int table, const char *fieldname, bool &result); bool getfloatfield(lua_State *L, int table, const char *fieldname, float &result); +u32 getflagsfield(lua_State *L, int table, + const char *fieldname, FlagDesc *flagdesc); std::string checkstringfield(lua_State *L, int table, const char *fieldname); |