Avoid using identical variable name in inner and outer scope in SOverrideMaterial

Wasn't a bug in this case, but I just got lucky.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5847 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2019-08-16 13:02:10 +00:00
parent 1b4444e044
commit f78e7b17f8
1 changed files with 2 additions and 2 deletions

View File

@ -55,9 +55,9 @@ namespace video
{
if (Enabled)
{
for (u32 i=0; i<32; ++i)
for (u32 f=0; f<32; ++f)
{
const u32 num=(1<<i);
const u32 num=(1<<f);
if (EnableFlags & num)
{
switch (num)