summaryrefslogtreecommitdiffstats
path: root/src/control/CarCtrl.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-01-07 15:08:51 +0100
committerGitHub <noreply@github.com>2020-01-07 15:08:51 +0100
commit18de44e038c904e4de21f42a12afa188146587d1 (patch)
tree6efdd7adc1648fd63414227dcd9ac13d54ab31b5 /src/control/CarCtrl.cpp
parentUse CGeneral::faststricmp in CPed::ServiceTalking (diff)
parentfixes (diff)
downloadre3-18de44e038c904e4de21f42a12afa188146587d1.tar
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.gz
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.bz2
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.lz
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.xz
re3-18de44e038c904e4de21f42a12afa188146587d1.tar.zst
re3-18de44e038c904e4de21f42a12afa188146587d1.zip
Diffstat (limited to 'src/control/CarCtrl.cpp')
-rw-r--r--src/control/CarCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/CarCtrl.cpp b/src/control/CarCtrl.cpp
index cf77b5a4..80cb8211 100644
--- a/src/control/CarCtrl.cpp
+++ b/src/control/CarCtrl.cpp
@@ -953,7 +953,7 @@ void CCarCtrl::SlowCarDownForPedsSectorList(CPtrList& lst, CVehicle* pVehicle, f
if (visibilityAngle > PI)
visibilityAngle = TWOPI - visibilityAngle;
if (visibilityAngle < HALFPI || pVehicle->m_nCarHornTimer){
- /* if ped sees the danger of if car horn is on */
+ /* if ped sees the danger or if car horn is on */
pPed->SetFlee(pVehicle, 2000);
pPed->bUsePedNodeSeek = false;
pPed->SetMoveState(PEDMOVE_RUN);