1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 04:26:03 +08:00

Fix cases where V_swap didn't need the global scope resolution operator

This commit is contained in:
sigsegv
2016-01-24 17:23:29 -08:00
parent 0edbd27fb8
commit 669d017fda
16 changed files with 46 additions and 46 deletions

View File

@ -365,7 +365,7 @@ STRIPLIST::iterator FindBestCachedStrip(STRIPLIST *pstriplist,
// make sure we keep the list in order and always pull off
// the first dude.
if(istriplistbest != pstriplist->begin())
::V_swap(*istriplistbest, *pstriplist->begin());
V_swap(*istriplistbest, *pstriplist->begin());
return pstriplist->begin();
}

View File

@ -207,7 +207,7 @@ CDispMeshEvent::CDispMeshEvent( unsigned short *pIndices, int indexCount, CCoreD
}
for ( int i = 0; i < indexCount/2; i++ )
{
::V_swap( pIndices[i], pIndices[(indexCount-i)-1] );
V_swap( pIndices[i], pIndices[(indexCount-i)-1] );
}
int count = maxIndex + 1;
m_verts.SetCount( count );