Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarHumanoid.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-12-26 21:00:29 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2024-12-26 21:00:29 +1100
commite092de711e559dedb582c32d1bb248aaca6e4315 (patch)
treebdcdebdf29c9b4e6419629387aa40aceb29f4a7f /source/game/StarHumanoid.cpp
parent0a1a82b18b86362263c8fa9ce8919c6d3b36d85c (diff)
fix compile error
Diffstat (limited to 'source/game/StarHumanoid.cpp')
-rw-r--r--source/game/StarHumanoid.cpp2
1 files changed, 1 insertions, 1 deletions
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<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);