Initialize object containment field

This is 3.7 bug caused by the lua implementation, so no fixes entry.
This commit is contained in:
Pasi Kallinen
2019-12-08 11:52:58 +02:00
parent b6e7734877
commit 2cb46c4153

View File

@@ -2655,6 +2655,7 @@ lua_State *L;
tmpobj.recharged = 0;
tmpobj.greased = 0;
tmpobj.broken = 0;
tmpobj.containment = 0;
if (argc == 1 && lua_type(L, 1) == LUA_TSTRING) {
const char *paramstr = luaL_checkstring(L, 1);