diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2023-03-07 22:35:00 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2023-03-07 22:35:00 -0600 |
| commit | 65d7db3487cc318dd764481193feb90bb6a897cd (patch) | |
| tree | d1107b2067204e871f24fba26246824d3534a254 /src/client/lua_api/phys | |
| parent | 0bc9f8922269233ca651d3765a7b073d5c2c7945 (diff) | |
| download | brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.tar.gz brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.tar.bz2 brokengine-65d7db3487cc318dd764481193feb90bb6a897cd.zip | |
Use an older name for luaL_reg
Diffstat (limited to 'src/client/lua_api/phys')
| -rw-r--r-- | src/client/lua_api/phys/cbcharactercontroller.cpp | 2 | ||||
| -rw-r--r-- | src/client/lua_api/phys/cbphysbox.cpp | 2 | ||||
| -rw-r--r-- | src/client/lua_api/phys/cbphysmodel.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/client/lua_api/phys/cbcharactercontroller.cpp b/src/client/lua_api/phys/cbcharactercontroller.cpp index e116ee8..c26dd7b 100644 --- a/src/client/lua_api/phys/cbcharactercontroller.cpp +++ b/src/client/lua_api/phys/cbcharactercontroller.cpp @@ -89,7 +89,7 @@ static int newcbcharactercontroller(lua_State* L){// //int cbchar
-static const luaL_reg cbcharactercontroller_m[] = {
+static const luaL_Reg cbcharactercontroller_m[] = {
//{"setpos", cbcharsetpos},//overload
//{"getpos", cbchargetpos},
//{"getgravity", cbphysgetgravity},
diff --git a/src/client/lua_api/phys/cbphysbox.cpp b/src/client/lua_api/phys/cbphysbox.cpp index 5fcba3b..0dbb95c 100644 --- a/src/client/lua_api/phys/cbphysbox.cpp +++ b/src/client/lua_api/phys/cbphysbox.cpp @@ -157,7 +157,7 @@ int cbsetmaterial(lua_State* L){ return 0; } -static const luaL_reg cbphysbox_m[] = { +static const luaL_Reg cbphysbox_m[] = { {"setpos", cbphyssetpos},//overload {"getpos", cbphysgetpos}, {0, 0}, diff --git a/src/client/lua_api/phys/cbphysmodel.cpp b/src/client/lua_api/phys/cbphysmodel.cpp index e09c62e..c48948a 100644 --- a/src/client/lua_api/phys/cbphysmodel.cpp +++ b/src/client/lua_api/phys/cbphysmodel.cpp @@ -252,12 +252,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}, }; |
