From c16f79afc6f37078517103e6ea645c7c56e2f55e Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Mon, 27 Sep 2010 17:11:16 +0200 Subject: [PATCH] fixed a bug in esm loader, that made all doors and chests locked by default --- components/esm/loadcell.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esm/loadcell.hpp b/components/esm/loadcell.hpp index c4641a57b..3f2a6b5a2 100644 --- a/components/esm/loadcell.hpp +++ b/components/esm/loadcell.hpp @@ -215,6 +215,7 @@ struct Cell else ref.teleport = false; // Integer, despite the name suggesting otherwise + ref.lockLevel = 0; esm.getHNOT(ref.lockLevel, "FLTV"); ref.key = esm.getHNOString("KNAM"); ref.trap = esm.getHNOString("TNAM");