diff --git a/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp b/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp index 24f7371df..8da37aa24 100644 --- a/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp +++ b/apps/openmw-mp/Script/Functions/RecordsDynamic.cpp @@ -1009,7 +1009,7 @@ void RecordsDynamicFunctions::SetRecordFatigue(int fatigue) noexcept tempOverrides.hasFatigue = true; } -void RecordsDynamicFunctions::SetRecordAiFight(int aiFight) noexcept +void RecordsDynamicFunctions::SetRecordAIFight(int aiFight) noexcept { unsigned short writeRecordsType = WorldstateFunctions::writeWorldstate.recordsType; diff --git a/apps/openmw-mp/Script/Functions/RecordsDynamic.hpp b/apps/openmw-mp/Script/Functions/RecordsDynamic.hpp index d089f5303..4e858f1b1 100644 --- a/apps/openmw-mp/Script/Functions/RecordsDynamic.hpp +++ b/apps/openmw-mp/Script/Functions/RecordsDynamic.hpp @@ -82,7 +82,7 @@ {"SetRecordLevel", RecordsDynamicFunctions::SetRecordLevel},\ {"SetRecordMagicka", RecordsDynamicFunctions::SetRecordMagicka},\ {"SetRecordFatigue", RecordsDynamicFunctions::SetRecordFatigue},\ - {"SetRecordAiFight", RecordsDynamicFunctions::SetRecordAiFight},\ + {"SetRecordAIFight", RecordsDynamicFunctions::SetRecordAIFight},\ \ {"SetRecordIdByIndex", RecordsDynamicFunctions::SetRecordIdByIndex},\ {"SetRecordEnchantmentIdByIndex", RecordsDynamicFunctions::SetRecordEnchantmentIdByIndex},\ @@ -710,7 +710,7 @@ public: * \param aiFight The AI fight value of the record. * \return void */ - static void SetRecordAiFight(int aiFight) noexcept; + static void SetRecordAIFight(int aiFight) noexcept; /** * \brief Set the id of the record at a certain index in the records stored on the server.