Fixed some stuff

This commit is contained in:
Kamay Xutax 2024-09-05 18:38:40 +02:00
parent 0ee108293c
commit aa10811e3e
2 changed files with 1 additions and 3 deletions

View file

@ -1344,7 +1344,7 @@ ICollideable *CEngineTraceServer::GetWorldCollideable()
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
void EngineTraceRenderRayCasts() void EngineTraceRenderRayCasts()
{ {
#if defined _DEBUG #if defined _DEBUG && !defined(SWDS)
if( debugrayenable.GetBool() && s_FrameRays.Count() > debugraylimit.GetInt() && !debugrayreset.GetInt() ) if( debugrayenable.GetBool() && s_FrameRays.Count() > debugraylimit.GetInt() && !debugrayreset.GetInt() )
{ {
Warning( "m_FrameRays.Count() == %d\n", s_FrameRays.Count() ); Warning( "m_FrameRays.Count() == %d\n", s_FrameRays.Count() );

View file

@ -302,8 +302,6 @@ void FX_FireBullets(
float x0 = fRadius0 * cosf(fTheta0); float x0 = fRadius0 * cosf(fTheta0);
float y0 = fRadius0 * sinf(fTheta0); float y0 = fRadius0 * sinf(fTheta0);
Assert(pWeaponInfo->m_iBullets <= kMaxBullets);
#ifdef CLIENT_DLL #ifdef CLIENT_DLL
static ConVarRef cl_showfirebullethitboxes("cl_showfirebullethitboxes"); static ConVarRef cl_showfirebullethitboxes("cl_showfirebullethitboxes");
static ConVarRef cl_showimpacts( "cl_showimpacts" ); static ConVarRef cl_showimpacts( "cl_showimpacts" );