[saco] Implement/match CGame::EnableStuntBonus(...)

This commit is contained in:
RD42 2024-08-14 23:07:27 +08:00
parent e83613689a
commit e79a03a240
2 changed files with 11 additions and 1 deletions

View File

@ -949,4 +949,13 @@ void CGame::EnableZoneNames(BYTE byteEnable)
ScriptCommand(&enable_zone_names, byteEnable);
}
//-----------------------------------------------------------
//-----------------------------------------------------------
void CGame::EnableStuntBonus(bool bEnable)
{
UnFuck(0xA4A474,4);
*(DWORD*)0xA4A474 = (int)bEnable;
}
//-----------------------------------------------------------

View File

@ -69,6 +69,7 @@ public:
void SetWantedLevel(BYTE byteLevel);
void SetGameTextCount(WORD wCount);
void DrawGangZone(float* fPos, DWORD dwColor);
void EnableStuntBonus(bool bEnable);
void DisableRaceCheckpoint();