"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

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\cxSWWM GZ\c- r285 (Wed 3 Jun 10:22:52 CEST 2020)";
SWWM_MODVER="\cxSWWM GZ\c- r286 (Wed 3 Jun 10:23:26 CEST 2020)";

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;