From 10d0667a2fd243aa2f71ef77b7ef02cf98f9a7de Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 6 Dec 2016 20:26:48 +0100 Subject: [PATCH] Fixed: Compilation with clang --- code/ryzom/client/src/character_cl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/character_cl.cpp b/code/ryzom/client/src/character_cl.cpp index c66b80576..3698ea80d 100644 --- a/code/ryzom/client/src/character_cl.cpp +++ b/code/ryzom/client/src/character_cl.cpp @@ -8852,7 +8852,7 @@ void CCharacterCL::animIndex(TAnimationType channel, CAnimation::TAnimId index) else { // Check the AnimSet needed to get the animation Id. - CHECK(_CurrentAnimSet[channel]); + CHECK(_CurrentAnimSet[channel] != NULL); // Get the Pointer on the animation state, if Null, return empty const CAnimationState *animStatePtr = _CurrentAnimSet[channel]->getAnimationState( (animState(channel)==CAnimationStateSheet::Emote)?_SubStateKey:animState(channel)); if(animStatePtr == 0)