match func_8000F628 and add NUM_PLAYERS define (#479)

* Match two funcs and add NUM_PLAYERS define
This commit is contained in:
MegaMech
2023-10-28 12:39:32 -06:00
committed by GitHub
parent c17d5c76c9
commit a1f432e9dc
16 changed files with 272 additions and 1412 deletions
+1 -1
View File
@@ -1812,7 +1812,7 @@ void func_8002BF4C(Player *player, s8 arg1) {
player->effects &= 0xFFDFFFFF;
}
} else {
for (i = 0; i < 8; i++) {
for (i = 0; i < NUM_PLAYERS; i++) {
playerBorrow = &players[i];
if (((player != playerBorrow) &&
((playerBorrow->type & 0x100) == 0) &&