mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Fixed: Compilation with clang
--HG-- branch : develop
This commit is contained in:
parent
3992b53683
commit
9022dfafde
1 changed files with 1 additions and 1 deletions
|
@ -8852,7 +8852,7 @@ void CCharacterCL::animIndex(TAnimationType channel, CAnimation::TAnimId index)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Check the AnimSet needed to get the animation Id.
|
// 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
|
// Get the Pointer on the animation state, if Null, return empty
|
||||||
const CAnimationState *animStatePtr = _CurrentAnimSet[channel]->getAnimationState( (animState(channel)==CAnimationStateSheet::Emote)?_SubStateKey:animState(channel));
|
const CAnimationState *animStatePtr = _CurrentAnimSet[channel]->getAnimationState( (animState(channel)==CAnimationStateSheet::Emote)?_SubStateKey:animState(channel));
|
||||||
if(animStatePtr == 0)
|
if(animStatePtr == 0)
|
||||||
|
|
Loading…
Reference in a new issue