mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-18 18:54:58 +00:00
Fix oversight in the Lua interface that would cause certain quad_*() functions not to be registered.
Really wonder why this never failed, and I just noticed this by accident...
This commit is contained in:
parent
ab6e92f256
commit
aa60f7cac2
1 changed files with 3 additions and 1 deletions
|
@ -6379,7 +6379,7 @@ luaFunc(entity_getNearestEntity)
|
|||
nameCheck = false;
|
||||
}
|
||||
|
||||
float range = lua_tointeger(L, 3);
|
||||
float range = lua_tonumber(L, 3);
|
||||
EntityType type = ET_NOTYPE;
|
||||
if (lua_isnumber(L, 4))
|
||||
type = (EntityType)lua_tointeger(L, 4);
|
||||
|
@ -8218,6 +8218,8 @@ static const struct {
|
|||
|
||||
// obj_* are not in the define above
|
||||
MAKE_ROBJ_FUNCS(_, obj)
|
||||
// same for quad_* base functions
|
||||
MAKE_QUAD_FUNCS(_, quad)
|
||||
|
||||
// -- overrides / special cases--
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue