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
|
// 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;
|
static Maybe<bool> s_headRotation;
|
||||||
if (!s_headRotation)
|
if (!s_headRotation)
|
||||||
s_headRotation = Root::singleton().configuration()->get("humanoidHeadRotation").optBool().value(true);
|
s_headRotation = Root::singleton().configuration()->get("humanoidHeadRotation").optBool().value(true);
|
||||||
|
@ -100,7 +100,7 @@ public:
|
|||||||
};
|
};
|
||||||
static EnumMap<State> const StateNames;
|
static EnumMap<State> const StateNames;
|
||||||
|
|
||||||
static bool& globalHeadRotation(Maybe<bool> default = {});
|
static bool& globalHeadRotation();
|
||||||
|
|
||||||
Humanoid(Json const& config);
|
Humanoid(Json const& config);
|
||||||
Humanoid(HumanoidIdentity const& identity);
|
Humanoid(HumanoidIdentity const& identity);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user