diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-10-12 19:47:34 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-10-12 19:47:34 +0200 |
commit | 342da2430b5e0ca6ccc278c32ff104e1cfdb4113 (patch) | |
tree | 3285d50a4a687252b31c965afcde3a5a7a0d5cdc /src/peds | |
parent | SampleManager (diff) | |
parent | Streaming and cross-platform fixes (diff) | |
download | re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.tar re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.tar.gz re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.tar.bz2 re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.tar.lz re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.tar.xz re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.tar.zst re3-342da2430b5e0ca6ccc278c32ff104e1cfdb4113.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/EmergencyPed.cpp | 8 |
1 files changed, 0 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; |