diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-06-26 17:48:57 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 17:48:57 -0600 |
| commit | d18c1615cd73c82539bdbc9945e99991deab0223 (patch) | |
| tree | 1f6c12ca5cf6267f765e320dcb64b293b64a1d13 /src/update_objects.c | |
| parent | d962e21355d90577402dae8eeab59c2606800d76 (diff) | |
Update update_objects.c
Diffstat (limited to 'src/update_objects.c')
| -rw-r--r-- | src/update_objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update_objects.c b/src/update_objects.c index 0b3411f77..da867e84b 100644 --- a/src/update_objects.c +++ b/src/update_objects.c @@ -3250,7 +3250,7 @@ enum RandomItemOption { * New random item system uses chance based on percent * Likely functionally equivallent to the old system but easier to modify */ -u8 gen_random_item(s16 rank, s16 isCpu) { +u8 gen_random_item(s16 rank, s16 option) { #define PERCENTAGE_BASE 100 u16 rand = random_int(PERCENTAGE_BASE); #undef PERCENTAGE_BASE |
