From 65d7db3487cc318dd764481193feb90bb6a897cd Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Tue, 7 Mar 2023 22:35:00 -0600 Subject: Use an older name for luaL_reg --- src/shared/lua_api/phys/bphysmodel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/shared/lua_api/phys/bphysmodel.cpp') diff --git a/src/shared/lua_api/phys/bphysmodel.cpp b/src/shared/lua_api/phys/bphysmodel.cpp index e5a9949..45d6a49 100644 --- a/src/shared/lua_api/phys/bphysmodel.cpp +++ b/src/shared/lua_api/phys/bphysmodel.cpp @@ -204,12 +204,12 @@ static int newbphysmodel(lua_State* L){ return 1; } -static const luaL_reg bphysmodel_f[] = { +static const luaL_Reg bphysmodel_f[] = { {"newphysmodel", newbphysmodel}, {0,0}, }; -static const luaL_reg bphysmodel_m[] = { +static const luaL_Reg bphysmodel_m[] = { {0, 0}, }; -- cgit v1.2.3-70-g09d2