FIRE-15962: Crash when flying under water using internal AO

master
Ansariel 2015-07-20 18:21:29 +02:00
parent 470033f976
commit 43765e5f5c
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ const LLUUID AOEngine::override(const LLUUID& pMotion, BOOL start)
<< " of set " << mCurrentSet->getName()
<< " (" << mCurrentSet << ")" << LL_ENDL;
if (animation.notNull())
if (animation.notNull() && state->mCurrentAnimation < state->mAnimations.size())
{
mAnimationChangedSignal(state->mAnimations[state->mCurrentAnimation].mInventoryUUID);
}