mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-04 04:20:51 +00:00
fixed a bug in esm loader, that made all doors and chests locked by default
This commit is contained in:
parent
9a0618fbb8
commit
c16f79afc6
@ -215,6 +215,7 @@ struct Cell
|
|||||||
else ref.teleport = false;
|
else ref.teleport = false;
|
||||||
|
|
||||||
// Integer, despite the name suggesting otherwise
|
// Integer, despite the name suggesting otherwise
|
||||||
|
ref.lockLevel = 0;
|
||||||
esm.getHNOT(ref.lockLevel, "FLTV");
|
esm.getHNOT(ref.lockLevel, "FLTV");
|
||||||
ref.key = esm.getHNOString("KNAM");
|
ref.key = esm.getHNOString("KNAM");
|
||||||
ref.trap = esm.getHNOString("TNAM");
|
ref.trap = esm.getHNOString("TNAM");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user