diff --git a/neo/d3xp/Actor.cpp b/neo/d3xp/Actor.cpp index 6392cd9..f130424 100644 --- a/neo/d3xp/Actor.cpp +++ b/neo/d3xp/Actor.cpp @@ -3134,7 +3134,7 @@ idActor::Event_HasAnim ================ */ void idActor::Event_HasAnim( int channel, const char *animname ) { - if ( GetAnim( channel, animname ) != NULL ) { + if ( GetAnim( channel, animname ) ) { idThread::ReturnFloat( 1.0f ); } else { idThread::ReturnFloat( 0.0f );