From 2cb46c4153083b1eb5eb25f6ff75acbc2e5478f6 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 8 Dec 2019 11:52:58 +0200 Subject: [PATCH] Initialize object containment field This is 3.7 bug caused by the lua implementation, so no fixes entry. --- src/sp_lev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sp_lev.c b/src/sp_lev.c index 94a829938..5f0fcda92 100644 --- a/src/sp_lev.c +++ b/src/sp_lev.c @@ -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);