Fix misspelling

macos_ci_fix
Zackhasacat 1 year ago
parent ec81bd7f1b
commit a2b47f44d2

@ -72,7 +72,7 @@ namespace MWLua
}); });
classT["specialization"] = sol::readonly_property([](const ESM::Class& rec) -> std::string_view { classT["specialization"] = sol::readonly_property([](const ESM::Class& rec) -> std::string_view {
return ESM::Class::specilizationIndexToLuaId.at(rec.mData.mSpecialization); return ESM::Class::specializationIndexToLuaId.at(rec.mData.mSpecialization);
}); });
classT["isPlayable"] classT["isPlayable"]
= sol::readonly_property([](const ESM::Class& rec) -> bool { return rec.mData.mIsPlayable; }); = sol::readonly_property([](const ESM::Class& rec) -> bool { return rec.mData.mIsPlayable; });

@ -447,7 +447,7 @@ namespace MWLua
skillT["description"] skillT["description"]
= sol::readonly_property([](const ESM::Skill& rec) -> std::string_view { return rec.mDescription; }); = sol::readonly_property([](const ESM::Skill& rec) -> std::string_view { return rec.mDescription; });
skillT["specialization"] = sol::readonly_property([](const ESM::Skill& rec) -> std::string_view { skillT["specialization"] = sol::readonly_property([](const ESM::Skill& rec) -> std::string_view {
return ESM::Class::specilizationIndexToLuaId.at(rec.mData.mSpecialization); return ESM::Class::specializationIndexToLuaId.at(rec.mData.mSpecialization);
}); });
skillT["icon"] = sol::readonly_property([vfs](const ESM::Skill& rec) -> std::string { skillT["icon"] = sol::readonly_property([vfs](const ESM::Skill& rec) -> std::string {
return Misc::ResourceHelpers::correctIconPath(rec.mIcon, vfs); return Misc::ResourceHelpers::correctIconPath(rec.mIcon, vfs);

@ -10,7 +10,7 @@ namespace ESM
{ {
const std::string_view Class::sGmstSpecializationIds[3] const std::string_view Class::sGmstSpecializationIds[3]
= { "sSpecializationCombat", "sSpecializationMagic", "sSpecializationStealth" }; = { "sSpecializationCombat", "sSpecializationMagic", "sSpecializationStealth" };
const std::array<std::string_view, 3> Class::specilizationIndexToLuaId = { "combat", "magic", "stealth" }; const std::array<std::string_view, 3> Class::specializationIndexToLuaId = { "combat", "magic", "stealth" };
int32_t& Class::CLDTstruct::getSkill(int index, bool major) int32_t& Class::CLDTstruct::getSkill(int index, bool major)
{ {

@ -32,7 +32,7 @@ namespace ESM
}; };
static const std::string_view sGmstSpecializationIds[3]; static const std::string_view sGmstSpecializationIds[3];
static const std::array<std::string_view, 3> specilizationIndexToLuaId; static const std::array<std::string_view, 3> specializationIndexToLuaId;
struct CLDTstruct struct CLDTstruct
{ {

Loading…
Cancel
Save