1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 18:06:41 +00:00

Formatting fixes

This commit is contained in:
Zackhasacat 2023-08-29 11:33:13 -05:00
parent 45f25e3f14
commit 0085fb923e
2 changed files with 2 additions and 3 deletions

View file

@ -31,7 +31,7 @@ namespace
book = LuaUtil::cast<ESM::Book>(rec["template"]);
else
{
book.blank();
book.blank();
book.mData.mSkillId = -1;
}
if (rec["name"] != sol::nil)
@ -74,7 +74,6 @@ namespace
throw std::runtime_error("Incorrect skill: " + skill.toDebugString());
}
}
return book;
}

View file

@ -26,7 +26,7 @@ namespace
clothing = LuaUtil::cast<ESM::Clothing>(rec["template"]);
else
clothing.blank();
if (rec["name"] != sol::nil)
clothing.mName = rec["name"];
if (rec["model"] != sol::nil)