From 28a0dc0d73eeaec2e7ee8cf6cb65c19aa742671f Mon Sep 17 00:00:00 2001 From: Jorge Rodriguez Date: Sun, 9 Nov 2014 18:10:48 -0800 Subject: [PATCH] Fix Linux crash sometimes. --- mp/src/game/shared/sdk/da_bulletmanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mp/src/game/shared/sdk/da_bulletmanager.cpp b/mp/src/game/shared/sdk/da_bulletmanager.cpp index 41b122565..b1053bd37 100644 --- a/mp/src/game/shared/sdk/da_bulletmanager.cpp +++ b/mp/src/game/shared/sdk/da_bulletmanager.cpp @@ -539,6 +539,10 @@ int CBulletManager::CBullet::DrawModel( int flags ) if (m_flCurrAlpha < 0) return 0; +#ifdef __linux__ + return 0; +#endif + if (!g_hBulletStreak.IsValid()) g_hBulletStreak.Init( "effects/tracer1.vmt", TEXTURE_GROUP_OTHER );