mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 06:54:08 +00:00
Weapon fixes and thingies
This commit is contained in:
parent
40ee29fb99
commit
84f8312b86
35 changed files with 639 additions and 405 deletions
|
@ -249,6 +249,14 @@ int32 CStats::FindCriminalRatingNumber()
|
|||
return rating;
|
||||
}
|
||||
|
||||
float CStats::GetPercentageProgress()
|
||||
{
|
||||
float percentCompleted = (CStats::TotalProgressInGame == 0 ? 0 :
|
||||
CStats::ProgressMade * 100.0f / (CGame::nastyGame ? CStats::TotalProgressInGame : CStats::TotalProgressInGame - 1.0f));
|
||||
|
||||
return Min(percentCompleted, 100.0f);
|
||||
}
|
||||
|
||||
void CStats::SaveStats(uint8 *buf, uint32 *size)
|
||||
{
|
||||
CheckPointReachedSuccessfully();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue