mirror of
https://github.com/pret/pmd-red.git
synced 2026-07-18 16:53:54 -05:00
remove extra variable
This commit is contained in:
parent
fb98bb9ec1
commit
073a207c0e
|
|
@ -229,12 +229,10 @@ void sub_80011E8(u8 *param_1)
|
|||
void sub_8001248(void)
|
||||
{
|
||||
s32 index;
|
||||
s32 counter;
|
||||
|
||||
for(index = 0; index < INVENTORY_SIZE; index++)
|
||||
{
|
||||
counter = RandInt(100);
|
||||
if(counter < 50)
|
||||
if(RandInt(100) < 50)
|
||||
ZeroOutItem(&gTeamInventoryRef->teamItems[index]);
|
||||
}
|
||||
FillInventoryGaps();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user