The math was wrong
This commit is contained in:
parent
070db3c9b8
commit
d27bbc0eef
2 changed files with 3 additions and 3 deletions
|
|
@ -167,7 +167,7 @@ Class WallbusterReloadMenu : GenericMenu
|
|||
return true;
|
||||
}
|
||||
int i = 0;
|
||||
while ( (queue.Size() > 0) && (++i < 5) )
|
||||
while ( (queue.Size() > 0) && (i++ < 5) )
|
||||
{
|
||||
if ( !PopAmmo() )
|
||||
break;
|
||||
|
|
@ -181,7 +181,7 @@ Class WallbusterReloadMenu : GenericMenu
|
|||
return true;
|
||||
}
|
||||
int j = 0;
|
||||
while ( (queue.Size() < 25) && (++j < 5) )
|
||||
while ( (queue.Size() < 25) && (j++ < 5) )
|
||||
{
|
||||
if ( !PushAmmo(true) )
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue