Skip to content

Commit 313637f

Browse files
Apply suggestion from @samisalreadytaken
Co-authored-by: samisalreadytaken <46823719+samisalreadytaken@users.noreply.github.com>
1 parent a1734c0 commit 313637f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp/src/game/client/mapbase/colorcorrectionmgr_exclude.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void CColorCorrectionMgr::UnregisterExclusionObject( C_BaseEntity *pEntity )
6969

7070
void CColorCorrectionMgr::UnregisterExclusionObject( int nGlowObjectHandle )
7171
{
72-
if ( m_ColCorrectExcludeDefs.Count() >= nGlowObjectHandle )
72+
if ( m_ColCorrectExcludeDefs.Count() <= nGlowObjectHandle )
7373
return;
7474

7575
Assert( !m_ColCorrectExcludeDefs[nGlowObjectHandle].IsUnused() );

0 commit comments

Comments
 (0)