diff options
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/EmergencyPed.cpp | 8 | ||||
-rw-r--r-- | src/peds/PedRoutes.cpp | 2 | ||||
-rw-r--r-- | src/peds/PedStats.cpp | 2 |
3 files changed, 4 insertions, 8 deletions
diff --git a/src/peds/EmergencyPed.cpp b/src/peds/EmergencyPed.cpp index a33e31f9..5b91daad 100644 --- a/src/peds/EmergencyPed.cpp +++ b/src/peds/EmergencyPed.cpp @@ -104,7 +104,6 @@ CEmergencyPed::FiremanAI(void) m_pAttendedFire = nearestFire; #ifdef FIX_BUGS bIsRunning = true; - ++nearestFire->m_nFiremenPuttingOut; #endif } break; @@ -116,10 +115,6 @@ CEmergencyPed::FiremanAI(void) SetMoveState(PEDMOVE_RUN); #ifdef FIX_BUGS bIsRunning = true; - if (m_pAttendedFire) { - --m_pAttendedFire->m_nFiremenPuttingOut; - } - ++nearestFire->m_nFiremenPuttingOut; m_pAttendedFire = nearestFire; } else if (!nearestFire) { #else @@ -153,10 +148,7 @@ CEmergencyPed::FiremanAI(void) case EMERGENCY_PED_STOP: #ifdef FIX_BUGS bIsRunning = false; - if (m_pAttendedFire) #endif - --m_pAttendedFire->m_nFiremenPuttingOut; - m_nPedState = PED_NONE; SetWanderPath(CGeneral::GetRandomNumber() & 7); m_pAttendedFire = nil; diff --git a/src/peds/PedRoutes.cpp b/src/peds/PedRoutes.cpp index 3ff080e6..2de90eae 100644 --- a/src/peds/PedRoutes.cpp +++ b/src/peds/PedRoutes.cpp @@ -3,6 +3,8 @@ #include "main.h" #include "PedRoutes.h" +// --MIAMI: file done + CRouteNode gaRoutes[NUMPEDROUTES]; void diff --git a/src/peds/PedStats.cpp b/src/peds/PedStats.cpp index 1f7a95b4..fe594bdf 100644 --- a/src/peds/PedStats.cpp +++ b/src/peds/PedStats.cpp @@ -4,6 +4,8 @@ #include "FileMgr.h" #include "PedStats.h" +// --MIAMI: file done + CPedStats *CPedStats::ms_apPedStats[NUM_PEDSTATS]; void |