"local variable i is already defined"

This commit is contained in:
Mari the Deer 2020-06-03 10:23:26 +02:00
commit 070db3c9b8
2 changed files with 3 additions and 3 deletions

View file

@ -180,8 +180,8 @@ Class WallbusterReloadMenu : GenericMenu
MenuSound("menu/noinvuse");
return true;
}
int i = 0;
while ( (queue.Size() < 25) && (++i < 5) )
int j = 0;
while ( (queue.Size() < 25) && (++j < 5) )
{
if ( !PushAmmo(true) )
return true;