1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2026-10-10 11:53:05 +08:00

Fixed compilation of tier1 caused by min/max.

This commit is contained in:
Ted Wang
2021-08-25 15:34:39 -07:00
committed by David Anderson
parent c33f7155e9
commit eea4d13b82
6 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ public:
m_errorStack[m_errorIndex] = symName;
}
m_errorIndex++;
m_maxErrorIndex = max( m_maxErrorIndex, (m_errorIndex-1) );
m_maxErrorIndex = V_max( m_maxErrorIndex, (m_errorIndex-1) );
return m_errorIndex-1;
}
@@ -3211,4 +3211,4 @@ bool CKeyValuesDumpContextAsDevMsg::KvWriteText( char const *szText )
Msg( "%s", szText );
}
return true;
}
}