mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-02-07 10:24:09 +05:00
shouldn't be this way
This commit is contained in:
parent
7d13fbc441
commit
55fef20267
1 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ void CCustomCarPlateMgr::PollPlates( RpClump* clump, RpMaterial** materials )
|
|||
if ( _strnicmp( texName, "carplate", 8 ) == 0 )
|
||||
{
|
||||
assert(numCarplates < NUM_MAX_PLATES);
|
||||
if ( numCarplates < NUM_MAX_PLATES );
|
||||
if ( numCarplates < NUM_MAX_PLATES )
|
||||
{
|
||||
carplates[numCarplates++] = material;
|
||||
}
|
||||
|
@ -92,7 +92,7 @@ void CCustomCarPlateMgr::PollPlates( RpClump* clump, RpMaterial** materials )
|
|||
else if ( _strnicmp( texName, "carpback", 8 ) == 0 )
|
||||
{
|
||||
assert(numCarpbacks < NUM_MAX_PLATES);
|
||||
if ( numCarpbacks < NUM_MAX_PLATES );
|
||||
if ( numCarpbacks < NUM_MAX_PLATES )
|
||||
{
|
||||
carpbacks[numCarpbacks++] = material;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue