add FLAG_ID_MAKE macros to all flag function calls
This commit is contained in:
parent
38085a347f
commit
db89eb87be
32 changed files with 158 additions and 145 deletions
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
#include "dolphin.h"
|
||||
|
||||
#define GW_PLAYER_MAX 4
|
||||
|
||||
void GWInit(void);
|
||||
void GWGameStatReset(void);
|
||||
s32 GWMessSpeedGet(void);
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ static inline s16 GWPlayerCoinWinGet(s32 player)
|
|||
|
||||
static inline void GWPlayerCoinWinSet(s32 player, s16 value)
|
||||
{
|
||||
if (_CheckFlag(0x1000C) == 0) {
|
||||
if (_CheckFlag(FLAG_ID_MAKE(1, 12)) == 0) {
|
||||
GWPlayer[player].coin_win = value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue