fix crash from pixel's merge

This commit is contained in:
rexx 2022-07-01 22:52:55 +01:00 committed by GitHub
parent eca293e551
commit 6f4d69a776
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -182,7 +182,7 @@ void CLogSystem::DrawGPUStats(void) const
void CLogSystem::DrawCrosshairMaterial(void) const
{
CMaterialGlue* material = GetMaterialAtCrossHair();
if (material)
if (!material)
return;
static Color c = { 255, 255, 255, 255 };