fix compile error
This commit is contained in:
parent
0a1a82b18b
commit
e092de711e
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user