diff --git a/source/game/StarHumanoid.cpp b/source/game/StarHumanoid.cpp index 8f39abe..97b90cd 100644 --- a/source/game/StarHumanoid.cpp +++ b/source/game/StarHumanoid.cpp @@ -243,7 +243,7 @@ EnumMap const Humanoid::StateNames{ }; // gross, but I don't want to make config calls more than I need to -bool& Humanoid::globalHeadRotation(Maybe default) { +bool& Humanoid::globalHeadRotation() { static Maybe s_headRotation; if (!s_headRotation) s_headRotation = Root::singleton().configuration()->get("humanoidHeadRotation").optBool().value(true); diff --git a/source/game/StarHumanoid.hpp b/source/game/StarHumanoid.hpp index 6fd1cbe..98412f2 100644 --- a/source/game/StarHumanoid.hpp +++ b/source/game/StarHumanoid.hpp @@ -100,7 +100,7 @@ public: }; static EnumMap const StateNames; - static bool& globalHeadRotation(Maybe default = {}); + static bool& globalHeadRotation(); Humanoid(Json const& config); Humanoid(HumanoidIdentity const& identity);