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
This commit is contained in:
nkorslund 2009-04-03 10:09:06 +00:00
parent 40dcc93fe2
commit 8dd3bfa896
2 changed files with 3 additions and 3 deletions

View file

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

View file

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