From afb7f1da54feab991f95c97656a0b27b9b0ddb62 Mon Sep 17 00:00:00 2001 From: SkyHasACat Date: Sun, 3 Aug 2025 21:39:44 -0700 Subject: [PATCH] Fix formatting --- apps/openmw/mwlua/types/servicesoffered.hpp | 31 ++++++--------------- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/apps/openmw/mwlua/types/servicesoffered.hpp b/apps/openmw/mwlua/types/servicesoffered.hpp index c854baca4d..acf928dc7c 100644 --- a/apps/openmw/mwlua/types/servicesoffered.hpp +++ b/apps/openmw/mwlua/types/servicesoffered.hpp @@ -1,26 +1,13 @@ #pragma once #include +#include // for ESM::NPC constants #include -#include // for ESM::NPC constants -inline constexpr std::array, 19> ServiceNames = {{ - { ESM::NPC::Spells, "Spells" }, - { ESM::NPC::Spellmaking, "Spellmaking" }, - { ESM::NPC::Enchanting, "Enchanting" }, - { ESM::NPC::Training, "Training" }, - { ESM::NPC::Repair, "Repair" }, - { ESM::NPC::AllItems, "Barter" }, - { ESM::NPC::Weapon, "Weapon" }, - { ESM::NPC::Armor, "Armor" }, - { ESM::NPC::Clothing, "Clothing" }, - { ESM::NPC::Books, "Books" }, - { ESM::NPC::Ingredients, "Ingredients" }, - { ESM::NPC::Picks, "Picks" }, - { ESM::NPC::Probes, "Probes" }, - { ESM::NPC::Lights, "Lights" }, - { ESM::NPC::Apparatus, "Apparatus" }, - { ESM::NPC::RepairItem, "RepairItem" }, - { ESM::NPC::Misc, "Misc" }, - { ESM::NPC::Potions, "Potions" }, - { ESM::NPC::MagicItems, "MagicItems" } -}}; \ No newline at end of file +inline constexpr std::array, 19> ServiceNames + = { { { ESM::NPC::Spells, "Spells" }, { ESM::NPC::Spellmaking, "Spellmaking" }, + { ESM::NPC::Enchanting, "Enchanting" }, { ESM::NPC::Training, "Training" }, { ESM::NPC::Repair, "Repair" }, + { ESM::NPC::AllItems, "Barter" }, { ESM::NPC::Weapon, "Weapon" }, { ESM::NPC::Armor, "Armor" }, + { ESM::NPC::Clothing, "Clothing" }, { ESM::NPC::Books, "Books" }, { ESM::NPC::Ingredients, "Ingredients" }, + { ESM::NPC::Picks, "Picks" }, { ESM::NPC::Probes, "Probes" }, { ESM::NPC::Lights, "Lights" }, + { ESM::NPC::Apparatus, "Apparatus" }, { ESM::NPC::RepairItem, "RepairItem" }, { ESM::NPC::Misc, "Misc" }, + { ESM::NPC::Potions, "Potions" }, { ESM::NPC::MagicItems, "MagicItems" } } };