mirror of
https://github.com/halpz/re3.git
synced 2025-12-21 03:32:59 +00:00
Weapon fixes and thingies
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user