diff --git a/engine/enginetrace.cpp b/engine/enginetrace.cpp index 715dc975c3..6722b8148a 100644 --- a/engine/enginetrace.cpp +++ b/engine/enginetrace.cpp @@ -1344,7 +1344,7 @@ ICollideable *CEngineTraceServer::GetWorldCollideable() //----------------------------------------------------------------------------- void EngineTraceRenderRayCasts() { -#if defined _DEBUG +#if defined _DEBUG && !defined(SWDS) if( debugrayenable.GetBool() && s_FrameRays.Count() > debugraylimit.GetInt() && !debugrayreset.GetInt() ) { Warning( "m_FrameRays.Count() == %d\n", s_FrameRays.Count() ); diff --git a/game/shared/cstrike/fx_cs_shared.cpp b/game/shared/cstrike/fx_cs_shared.cpp index e5b5b92856..fe6202d8d6 100644 --- a/game/shared/cstrike/fx_cs_shared.cpp +++ b/game/shared/cstrike/fx_cs_shared.cpp @@ -302,8 +302,6 @@ void FX_FireBullets( float x0 = fRadius0 * cosf(fTheta0); float y0 = fRadius0 * sinf(fTheta0); - Assert(pWeaponInfo->m_iBullets <= kMaxBullets); - #ifdef CLIENT_DLL static ConVarRef cl_showfirebullethitboxes("cl_showfirebullethitboxes"); static ConVarRef cl_showimpacts( "cl_showimpacts" );