From 0b40f4959c0d8bad8832fcd0c16cb05b9ec2b26c Mon Sep 17 00:00:00 2001 From: Andrea Faulds Date: Mon, 14 Apr 2014 02:18:21 +0100 Subject: [PATCH] Fixed clang-found semantic error in c_te_decal.cpp --- sp/src/game/client/c_te_decal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sp/src/game/client/c_te_decal.cpp b/sp/src/game/client/c_te_decal.cpp index 4ea42e5e..f0212ee1 100644 --- a/sp/src/game/client/c_te_decal.cpp +++ b/sp/src/game/client/c_te_decal.cpp @@ -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,