mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 11:37:40 +01:00
GROUPTYPE_NONE to unsigned
This commit is contained in:
parent
c32fbf594a
commit
9c1c598160
@ -32,7 +32,7 @@ enum {
|
||||
#define GROUPTYPE_BATTLE 1
|
||||
#define GROUPTYPE_UNION 2
|
||||
#define GROUPTYPE_TOTAL 3
|
||||
#define GROUPTYPE_NONE -1
|
||||
#define GROUPTYPE_NONE 0xFF
|
||||
#define NUM_GROUPTYPES 4
|
||||
|
||||
struct WirelessCommunicationStatusScreen
|
||||
@ -382,7 +382,7 @@ static u32 CountPlayersInGroupAndGetActivity(struct RfuPlayer * player, u32 * gr
|
||||
for (i = 0; i < ARRAY_COUNT(sActivityGroupInfo); i++)
|
||||
{
|
||||
#ifdef UBFIX
|
||||
// GROUPTYPE_NONE is -1, and shouldn't be used as an index into groupCounts.
|
||||
// GROUPTYPE_NONE is 0xFF, and shouldn't be used as an index into groupCounts.
|
||||
// In theory the only activity with this group type (ACTIVITY_SEARCH) wouldn't
|
||||
// satisfy the condition below, but not necessarily.
|
||||
if (group_type(i) == GROUPTYPE_NONE)
|
||||
|
Loading…
Reference in New Issue
Block a user