diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:53:57 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-24 14:53:57 +0200 |
commit | 6219d4af217e367336f6a4f7d0a85921c823c161 (patch) | |
tree | 1e45576ca1b349456a23b764c80f43d11a778436 /src/Bindings | |
parent | whitespace cleanup (diff) | |
parent | Use ref instead of pointer (diff) | |
download | cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.gz cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.bz2 cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.lz cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.xz cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.tar.zst cuberite-6219d4af217e367336f6a4f7d0a85921c823c161.zip |
Diffstat (limited to 'src/Bindings')
-rw-r--r-- | src/Bindings/LuaState.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/LuaState.h b/src/Bindings/LuaState.h index ffcddcfe8..8014f40d4 100644 --- a/src/Bindings/LuaState.h +++ b/src/Bindings/LuaState.h @@ -665,7 +665,7 @@ public: bool GetStackValue(int a_StackPos, T & a_ReturnedVal, typename std::enable_if<std::is_integral<T>::value>::type * unused = nullptr) { UNUSED(unused); - if (!lua_isnumber(m_LuaState, a_StackPos)) // Also accepts strings representing a number: http://pgl.yoyo.org/luai/i/lua_isnumber + if (!lua_isnumber(m_LuaState, a_StackPos)) // Also accepts strings representing a number: https://pgl.yoyo.org/luai/i/lua_isnumber { return false; } |