Update update_objects.c

This commit is contained in:
MegaMech
2025-06-26 17:48:57 -06:00
committed by GitHub
parent d962e21355
commit d18c1615cd
+1 -1
View File
@@ -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