summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-12 10:13:46 +0200
committerGitHub <noreply@github.com>2020-10-12 10:13:46 +0200
commit9e0b23f06517e6ead7ae63dcf899e58387474cb3 (patch)
treee77c7603491b84f7ecc9411f412343484c873036 /src/peds
parentMerge pull request #759 from Sergeanur/VC/ZoneSaveLoad (diff)
parentHud, Fire, OnscreenBlaBla (diff)
downloadre3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.gz
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.bz2
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.lz
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.xz
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.tar.zst
re3-9e0b23f06517e6ead7ae63dcf899e58387474cb3.zip
Diffstat (limited to '')
-rw-r--r--src/peds/EmergencyPed.cpp8
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;