Fixed a couple of ESM issues (compatible with the Redemtion mod)

git-svn-id: https://openmw.svn.sourceforge.net/svnroot/openmw/trunk@96 ea6a568a-9f4f-0410-981a-c910a81bb256
actorid
nkorslund 16 years ago
parent 40dcc93fe2
commit 8dd3bfa896

@ -53,10 +53,10 @@ struct Book
void load()
{with(esFile){
model = getMesh();
name = getHNString("FNAM");
name = getHNOString("FNAM");
readHNExact(&data, data.sizeof, "BKDT");
script = getHNOPtr!(Script)("SCRI", scripts);
icon = getIcon();
icon = getOIcon();
text = getHNOString("TEXT");
enchant = getHNOPtr!(Enchantment)("ENAM", enchants);

@ -81,7 +81,7 @@ struct Container
void load()
{with(esFile){
model = getMesh();
name = getHNString("FNAM");
name = getHNOString("FNAM");
weight = getHNFloat("CNDT");
flags = cast(Flags)getHNUint("FLAG");

Loading…
Cancel
Save