mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-01 21:44:14 +01:00
commit
f3937b2971
@ -51,6 +51,12 @@ cMusicManager::PlayerInCar()
|
|||||||
if(State == PED_DRAG_FROM_CAR || State == PED_EXIT_CAR || State == PED_ARRESTED)
|
if(State == PED_DRAG_FROM_CAR || State == PED_EXIT_CAR || State == PED_ARRESTED)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (!FindPlayerVehicle())
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (FindPlayerVehicle()->m_status == STATUS_WRECKED)
|
||||||
|
return false;
|
||||||
|
|
||||||
switch(FindPlayerVehicle()->m_modelIndex) {
|
switch(FindPlayerVehicle()->m_modelIndex) {
|
||||||
case MI_FIRETRUCK:
|
case MI_FIRETRUCK:
|
||||||
case MI_AMBULAN:
|
case MI_AMBULAN:
|
||||||
|
@ -5470,7 +5470,8 @@ CMenuManager::ConstructStatLine(int rowIdx)
|
|||||||
if (player.m_nTotalPackages != 0)
|
if (player.m_nTotalPackages != 0)
|
||||||
packagesPercent = player.m_nCollectedPackages * 100.0f / player.m_nTotalPackages;
|
packagesPercent = player.m_nCollectedPackages * 100.0f / player.m_nTotalPackages;
|
||||||
|
|
||||||
STAT_LINE("PERPIC", &packagesPercent, 0, &(nTemp = 100));
|
int nPackagesPercent = packagesPercent;
|
||||||
|
STAT_LINE("PERPIC", &nPackagesPercent, 0, &(nTemp = 100));
|
||||||
STAT_LINE("NOUNIF", &CStats::TotalNumberOfUniqueJumps, 0, &CStats::NumberOfUniqueJumpsFound);
|
STAT_LINE("NOUNIF", &CStats::TotalNumberOfUniqueJumps, 0, &CStats::NumberOfUniqueJumpsFound);
|
||||||
STAT_LINE("DAYSPS", &CStats::DaysPassed, false, nil);
|
STAT_LINE("DAYSPS", &CStats::DaysPassed, false, nil);
|
||||||
if (CGame::nastyGame) {
|
if (CGame::nastyGame) {
|
||||||
|
Loading…
Reference in New Issue
Block a user