aoengine.cpp: fix useless use of pointer

master
chanayane 2025-01-29 22:00:45 +01:00
parent 656e910db8
commit c5521b404a
No known key found for this signature in database
GPG Key ID: F60C8AE3A90228FA
1 changed files with 1 additions and 2 deletions

View File

@ -1027,8 +1027,7 @@ void AOEngine::playAnimation(const LLUUID& animation)
U32 idx = -1;
for (U32 i = 0; i < state->mAnimations.size(); i++)
{
LLUUID* id = &(state->mAnimations[i].mAssetUUID);
if (*id == newAnimation)
if (state->mAnimations[i].mAssetUUID == newAnimation)
{
idx = i;
break;