From 6ba9b1742bd30386b5f8670ad950ca707f17e64d Mon Sep 17 00:00:00 2001 From: David Cernat Date: Sun, 8 Jul 2018 01:05:54 +0300 Subject: [PATCH] [Server] Remove unused default parameters for script functions --- apps/openmw-mp/Script/Functions/Dialogue.hpp | 2 +- apps/openmw-mp/Script/Functions/Mechanics.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw-mp/Script/Functions/Dialogue.hpp b/apps/openmw-mp/Script/Functions/Dialogue.hpp index b86a2f01e..813ed761a 100644 --- a/apps/openmw-mp/Script/Functions/Dialogue.hpp +++ b/apps/openmw-mp/Script/Functions/Dialogue.hpp @@ -67,7 +67,7 @@ public: */ static void SendTopicChanges(unsigned short pid, bool sendToOtherPlayers, bool skipAttachedPlayer) noexcept; - static void PlayAnimation(unsigned short pid, const char* groupname, int mode = 0, int count = 1, bool persist = false) noexcept; + static void PlayAnimation(unsigned short pid, const char* groupname, int mode, int count, bool persist) noexcept; static void PlaySpeech(unsigned short pid, const char* sound) noexcept; private: diff --git a/apps/openmw-mp/Script/Functions/Mechanics.hpp b/apps/openmw-mp/Script/Functions/Mechanics.hpp index b56311e63..7bca83419 100644 --- a/apps/openmw-mp/Script/Functions/Mechanics.hpp +++ b/apps/openmw-mp/Script/Functions/Mechanics.hpp @@ -240,8 +240,8 @@ public: * \param jailEndText The text that should be displayed once the jailing period is over. * \return void */ - static void Jail(unsigned short pid, int jailDays, bool ignoreJailTeleportation = false, bool ignoreJailSkillIncreases = false, - const char* jailProgressText = "", const char* jailEndText = "") noexcept; + static void Jail(unsigned short pid, int jailDays, bool ignoreJailTeleportation, bool ignoreJailSkillIncreases, + const char* jailProgressText, const char* jailEndText) noexcept; /** * \brief Send a PlayerResurrect packet about a player.