From 49509d2f746b7a8d50e685cfd0e0b391676b9466 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sun, 1 Jul 2018 12:31:49 +0200 Subject: Log deprecated Lua function calls (#7491) --- src/script/lua_api/l_noise.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/script/lua_api/l_noise.h') diff --git a/src/script/lua_api/l_noise.h b/src/script/lua_api/l_noise.h index 13e668507..9f50dfd3f 100644 --- a/src/script/lua_api/l_noise.h +++ b/src/script/lua_api/l_noise.h @@ -31,7 +31,7 @@ class LuaPerlinNoise : public ModApiBase private: NoiseParams np; static const char className[]; - static const luaL_Reg methods[]; + static luaL_Reg methods[]; // Exported functions @@ -63,7 +63,7 @@ class LuaPerlinNoiseMap : public ModApiBase Noise *noise; bool m_is3d; static const char className[]; - static const luaL_Reg methods[]; + static luaL_Reg methods[]; // Exported functions -- cgit v1.2.3