Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/game/client/c_baseanimating.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class CAttachmentData
QAngle m_angRotation;
Vector m_vOriginVelocity;
int m_nLastFramecount : 31;
int m_bAnglesComputed : 1;
bool m_bAnglesComputed : true;
};


Expand Down
2 changes: 1 addition & 1 deletion src/game/client/swarm/gameui/cvarslider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void CCvarSlider::Reset()
m_iLastSliderValue = m_iStartValue;
return;
}
float m_fStartValue = var.GetFloat();
m_fStartValue = var.GetFloat();
m_fCurrentValue = m_fStartValue;

int value = (int)( CVARSLIDER_SCALE_FACTOR * m_fStartValue );
Expand Down
8 changes: 7 additions & 1 deletion src/game/client/viewrender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5131,7 +5131,10 @@ bool DrawingShadowDepthView( void ) //for easy externing
{
return (CurrentViewID() == VIEW_SHADOW_DEPTH_TEXTURE);
}


#ifdef _WIN32
#pragma warning (disable:4456) // hide 'declaration of 'VProf_' hides previous local declaration'
#endif
//-----------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
Expand Down Expand Up @@ -5220,6 +5223,9 @@ void CShadowDepthView::Draw()
#endif
}

#ifdef _WIN32
#pragma warning (default:4456)
#endif

//-----------------------------------------------------------------------------
//
Expand Down
3 changes: 1 addition & 2 deletions src/game/server/ai_basenpc_schedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2167,8 +2167,7 @@ void CAI_BaseNPC::StartTask( const Task_t *pTask )
AIN_DEF_FLAGS,
m_hStoredPathTarget );

// TODO: is this a bug? why goal and not coverGoal?
foundPath = GetNavigator()->SetGoal( goal );
foundPath = GetNavigator()->SetGoal( coverGoal );

m_flMoveWaitFinished = gpGlobals->curtime + pTask->flTaskData;
}
Expand Down
1 change: 0 additions & 1 deletion src/game/server/nav_generate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,6 @@ static bool testStitchConnection( CNavArea *source, CNavArea *target, const Vect
else
{
// test going up ClimbUpHeight
bool success = false;
for ( float height = StepHeight; height <= ClimbUpHeight; height += 1.0f )
{
trace_t tr;
Expand Down