From 64442b05f8aa39918f5cb75503c7f57b0bd62827 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 18 Oct 2020 16:37:07 +0100 Subject: cBlockInfo: further cleanup (#5001) * cBlockInfo: further cleanup + Use switch statements instead of lookup in dynamically initialised arrays - Remove some deprecated bindings * Update Stubs removing references to BlockInfoArray --- tests/LuaThreadStress/Stubs.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tests/LuaThreadStress') diff --git a/tests/LuaThreadStress/Stubs.cpp b/tests/LuaThreadStress/Stubs.cpp index fe2687ef4..4b347b895 100644 --- a/tests/LuaThreadStress/Stubs.cpp +++ b/tests/LuaThreadStress/Stubs.cpp @@ -86,16 +86,9 @@ extern "C" int luaopen_lxp(lua_State * a_LuaState) -cBlockInfo::cBlockInfo() -{ -} - - - - - -cBlockInfo::cBlockInfoArray::cBlockInfoArray() +bool cBlockInfo::IsSolid(BLOCKTYPE) { + return false; } -- cgit v1.2.3