fixed a bug in esm loader, that made all doors and chests locked by default

actorid
Marc Zinnschlag 14 years ago
parent 9a0618fbb8
commit c16f79afc6

@ -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");

Loading…
Cancel
Save