From 756716d6c650c5726fffb0a5ce6eeeb8f621f609 Mon Sep 17 00:00:00 2001 From: ziree Date: Sun, 20 Oct 2019 18:03:40 +0200 Subject: [PATCH] Fix typo that freezes the viewer on startup ... ouch ... --- indra/newview/aoengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/aoengine.cpp b/indra/newview/aoengine.cpp index e8462868d1..c14c64a3e8 100644 --- a/indra/newview/aoengine.cpp +++ b/indra/newview/aoengine.cpp @@ -569,7 +569,7 @@ const LLUUID AOEngine::override(const LLUUID& pMotion, BOOL start) S32 stateNum; // loop through the list of states - while ((stateNum = cleanupStates[index]) != AOSet::AOSTATES_MAX); + while ((stateNum = cleanupStates[index]) != AOSet::AOSTATES_MAX) { // check if the next state is the one we are currently animating and skip that AOSet::AOState* stateToCheck = mCurrentSet->getState(stateNum);