From 162ffd7fba9d4e79a29f65686f3efbebaee9cee8 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Thu, 31 May 2018 22:52:08 +0200 Subject: Fix isNan on setYaw Lua call (#7380) * Fix isNan on setYaw Lua call --- src/script/lua_api/l_base.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/script/lua_api/l_base.h') diff --git a/src/script/lua_api/l_base.h b/src/script/lua_api/l_base.h index 0a75b4c1a..20aa4cc09 100644 --- a/src/script/lua_api/l_base.h +++ b/src/script/lua_api/l_base.h @@ -69,4 +69,6 @@ public: const char* name, lua_CFunction func, int top); + + static bool isNaN(lua_State *L, int idx); }; -- cgit v1.2.3