minor loop variable refactoring
minor loop variable refactoring

ardenfire/SonanEngine,ap4y/OrigamiEngine,alecgorge/OrigamiEngine,liufeigit/OrigamiEngine,daria-kopaliani/OrigamiEngine,Eveian/OrigamiEngine