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/client/lua_api/scene/icamera.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/lua_api/scene/icamera.cpp') diff --git a/src/client/lua_api/scene/icamera.cpp b/src/client/lua_api/scene/icamera.cpp index 34b3447..8a129b5 100644 --- a/src/client/lua_api/scene/icamera.cpp +++ b/src/client/lua_api/scene/icamera.cpp @@ -192,18 +192,18 @@ static int icamerasettarget(lua_State *L){ return 0; } -static const luaL_reg icamera_m[] = { +static const luaL_Reg icamera_m[] = { {"bindtarget", icamerabindtarget}, {"gettarget", icameragettarget}, {"settarget", icamerasettarget}, {0,0}, }; -static const luaL_reg imayacamera_m[] = { +static const luaL_Reg imayacamera_m[] = { {0,0}, }; -static const luaL_reg ifpscamera_m[] = { +static const luaL_Reg ifpscamera_m[] = { {0,0}, }; -- cgit v1.2.3-70-g09d2