File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed
Client/mods/deathmatch/logic/luadefs Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change 12
12
13
13
#include " StdInc.h"
14
14
using std::list;
15
- #define MIN_CLIENT_REQ_GETBOUNDINGBOX_OOP " 1.5.5-9.13999"
16
15
17
16
void CLuaElementDefs::LoadFunctions ()
18
17
{
@@ -1036,22 +1035,9 @@ int CLuaElementDefs::OOP_GetElementBoundingBox(lua_State* luaVM)
1036
1035
CVector vecMin, vecMax;
1037
1036
if (CStaticFunctionDefinitions::GetElementBoundingBox (*pEntity, vecMin, vecMax))
1038
1037
{
1039
- if (!MinClientReqCheck (argStream, MIN_CLIENT_REQ_GETBOUNDINGBOX_OOP))
1040
- {
1041
- lua_pushnumber (luaVM, vecMin.fX );
1042
- lua_pushnumber (luaVM, vecMin.fY );
1043
- lua_pushnumber (luaVM, vecMin.fZ );
1044
- lua_pushnumber (luaVM, vecMax.fX );
1045
- lua_pushnumber (luaVM, vecMax.fY );
1046
- lua_pushnumber (luaVM, vecMax.fZ );
1047
- return 6 ;
1048
- }
1049
- else
1050
- {
1051
- lua_pushvector (luaVM, vecMin);
1052
- lua_pushvector (luaVM, vecMax);
1053
- return 2 ;
1054
- }
1038
+ lua_pushvector (luaVM, vecMin);
1039
+ lua_pushvector (luaVM, vecMax);
1040
+ return 2 ;
1055
1041
}
1056
1042
}
1057
1043
else
You can’t perform that action at this time.
0 commit comments