Fixed: Compilation with clang

This commit is contained in:
kervala 2016-12-06 20:26:48 +01:00
parent dc8b7d0d5c
commit 10d0667a2f

View file

@ -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)