Some of the INVALID_ are likely erroneously placed, due to lack of documentation
This commit is contained in:
+3
-3
@@ -1,5 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "malloc.h"
|
||||
#include "alloc.h"
|
||||
#include "random.h"
|
||||
#include "constants/items.h"
|
||||
#include "text.h"
|
||||
@@ -1763,7 +1763,7 @@ static void sub_80E8880(struct RankingHall1P *arg0, struct RankingHall1P *arg1)
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
s32 highestWinStreak = 0;
|
||||
s32 highestId = -1;
|
||||
s32 highestId = INVALID_S32;
|
||||
for (j = 0; j < 6; j++)
|
||||
{
|
||||
if (arg1[j].winStreak > highestWinStreak)
|
||||
@@ -1788,7 +1788,7 @@ static void sub_80E88CC(struct RankingHall2P *arg0, struct RankingHall2P *arg1)
|
||||
for (i = 0; i < 3; i++)
|
||||
{
|
||||
s32 highestWinStreak = 0;
|
||||
s32 highestId = -1;
|
||||
s32 highestId = INVALID_S32;
|
||||
for (j = 0; j < 6; j++)
|
||||
{
|
||||
if (arg1[j].winStreak > highestWinStreak)
|
||||
|
||||
Reference in New Issue
Block a user