mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Tool specific pointing and blocking pointable type (#13992)
This commit is contained in:
@@ -188,7 +188,7 @@ int LuaRaycast::create_object(lua_State *L)
|
||||
}
|
||||
|
||||
LuaRaycast *o = new LuaRaycast(core::line3d<f32>(pos1, pos2),
|
||||
objects, liquids);
|
||||
objects, liquids, std::nullopt);
|
||||
|
||||
*(void **) (lua_newuserdata(L, sizeof(void *))) = o;
|
||||
luaL_getmetatable(L, className);
|
||||
|
Reference in New Issue
Block a user