fix compile error

This commit is contained in:
Kae 2024-12-26 21:00:29 +11:00
parent 0a1a82b18b
commit e092de711e
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ EnumMap<Humanoid::State> const Humanoid::StateNames{
};
// gross, but I don't want to make config calls more than I need to
bool& Humanoid::globalHeadRotation(Maybe<bool> default) {
bool& Humanoid::globalHeadRotation() {
static Maybe<bool> s_headRotation;
if (!s_headRotation)
s_headRotation = Root::singleton().configuration()->get("humanoidHeadRotation").optBool().value(true);

View File

@ -100,7 +100,7 @@ public:
};
static EnumMap<State> const StateNames;
static bool& globalHeadRotation(Maybe<bool> default = {});
static bool& globalHeadRotation();
Humanoid(Json const& config);
Humanoid(HumanoidIdentity const& identity);