Fixed clang-found semantic error in c_te_decal.cpp

This commit is contained in:
Andrea Faulds 2014-04-14 02:18:21 +01:00
parent 28abc2120b
commit 0b40f4959c

View file

@ -139,7 +139,7 @@ void TE_Decal( IRecipientFilter& filter, float delay,
// Only decal the world + brush models
// Here we deal with decals on entities.
C_BaseEntity* ent;
if ( ( ent = cl_entitylist->GetEnt( entity ) ) == false )
if ( ( ent = cl_entitylist->GetEnt( entity ) ) == NULL )
return;
ent->AddDecal( *start, *pos, *pos, hitbox,