mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 03:19:44 +00:00
Fix misspelling
This commit is contained in:
parent
ec81bd7f1b
commit
a2b47f44d2
@ -72,7 +72,7 @@ namespace MWLua
|
||||
});
|
||||
|
||||
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"]
|
||||
= sol::readonly_property([](const ESM::Class& rec) -> bool { return rec.mData.mIsPlayable; });
|
||||
|
@ -447,7 +447,7 @@ namespace MWLua
|
||||
skillT["description"]
|
||||
= 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 {
|
||||
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 {
|
||||
return Misc::ResourceHelpers::correctIconPath(rec.mIcon, vfs);
|
||||
|
@ -10,7 +10,7 @@ namespace ESM
|
||||
{
|
||||
const std::string_view Class::sGmstSpecializationIds[3]
|
||||
= { "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)
|
||||
{
|
||||
|
@ -32,7 +32,7 @@ namespace ESM
|
||||
};
|
||||
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user