From 85ab67fff41b8c4811d2a88e992f6c1f7000498a Mon Sep 17 00:00:00 2001 From: David Cernat Date: Fri, 7 May 2021 18:43:07 +0200 Subject: [PATCH] [Server] Use consistent order for script functions for Spells Fix a small typo. --- apps/openmw-mp/Script/Functions/Spells.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/openmw-mp/Script/Functions/Spells.hpp b/apps/openmw-mp/Script/Functions/Spells.hpp index a7f72950e..12207e4aa 100644 --- a/apps/openmw-mp/Script/Functions/Spells.hpp +++ b/apps/openmw-mp/Script/Functions/Spells.hpp @@ -72,6 +72,14 @@ public: */ static unsigned int GetSpellbookChangesAction(unsigned short pid) noexcept; + /** + * \brief Get the number of indexes in a player's latest spells active changes. + * + * \param pid The player ID whose spells active changes should be used. + * \return The number of indexes for spells active changes. + */ + static unsigned int GetSpellsActiveChangesSize(unsigned short pid) noexcept; + /** * \brief Get the action type used in a player's latest spells active changes. * @@ -80,14 +88,6 @@ public: */ static unsigned int GetSpellsActiveChangesAction(unsigned short pid) noexcept; - /** - * \brief Get the number of indexes in a player's latest spells active changes. - * - * \param pid The player ID whose spells active changes should be used. - * \return The number of indexes. - */ - static unsigned int GetSpellsActiveChangesSize(unsigned short pid) noexcept; - /** * \brief Set the action type in a player's spellbook changes. * @@ -117,7 +117,7 @@ public: /** * \brief Add a new active spell to the spells active changes for a player, - * using the temporary effect times stored so far. + * using the temporary effect values stored so far. * * \param pid The player ID whose spells active changes should be used. * \param spellId The spellId of the spell.