Linux: fix build issues, for some reason, Always can not be used in an enum

This commit is contained in:
Zi Ree
2026-06-11 19:02:20 +02:00
parent 48c057cfe6
commit 81f12403f9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ void AOEngine::stopActiveTracks()
void AOEngine::startAlwaysAnimations()
{
AOSet::AOState* state = (mEnabled && mCurrentSet) ? mCurrentSet->getState(AOSet::Always) : nullptr;
AOSet::AOState* state = (mEnabled && mCurrentSet) ? mCurrentSet->getState(AOSet::AlwaysPlay) : nullptr;
if (state && state == mActiveAlwaysState)
{
+1 -1
View File
@@ -64,7 +64,7 @@ public:
SwimmingForward,
SwimmingUp,
SwimmingDown,
Always,
AlwaysPlay,
AOSTATES_MAX
};