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.