1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 17:09:40 +00:00

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

This commit is contained in:
Marc Zinnschlag 2010-09-27 17:11:16 +02:00
parent 9a0618fbb8
commit c16f79afc6

View file

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