mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-08 14:37:09 -04:00
Update update_objects.c
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user