Fix record value type to be unsigned

This commit is contained in:
gamemasterplc 2024-08-18 07:59:47 -05:00
parent cc34ad9bdb
commit 61fb321477
5 changed files with 9 additions and 13 deletions

View file

@ -147,14 +147,14 @@ s32 GWMessDelayGet(void)
return GWSystem.mess_delay;
}
void GWMGRecordSet(s32 index, s32 value)
void GWMGRecordSet(s32 index, u32 value)
{
if(!_CheckFlag(FLAG_ID_MAKE(1, 12))) {
GWGameStat.mg_record[index] = value;
}
}
s32 GWMGRecordGet(s32 index)
u32 GWMGRecordGet(s32 index)
{
return GWGameStat.mg_record[index];
}