shadowvar cleanup

This commit is contained in:
Azaezel 2018-03-16 11:13:26 -05:00
parent 248c5e9e69
commit 5282b37d9f
3 changed files with 6 additions and 8 deletions

View file

@ -449,10 +449,10 @@ void FieldBrushObject::copyFields( SimObject* pSimObject, const char* fieldList
// Yes, so is this field name selected?
// Iterate fields...
for ( U32 fieldIndex = 0; fieldIndex < fields.size(); ++fieldIndex )
for ( U32 findFieldIDx = 0; findFieldIDx < fields.size(); ++findFieldIDx)
{
// Field selected?
if ( staticField.pFieldname == fields[fieldIndex] )
if ( staticField.pFieldname == fields[findFieldIDx] )
{
// Yes, so flag as such.
fieldSpecified = true;