summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-04-12 17:51:46 +0200
committereray orçunus <erayorcunus@gmail.com>2020-04-12 17:51:46 +0200
commitbde3ef4f43afef08d56f7e47c75fc4f20f6ec279 (patch)
tree170e415676a5698dbda1000710ab204491332e1b /src/peds
parentPed fix (diff)
downloadre3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.tar
re3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.tar.gz
re3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.tar.bz2
re3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.tar.lz
re3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.tar.xz
re3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.tar.zst
re3-bde3ef4f43afef08d56f7e47c75fc4f20f6ec279.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 51e49875..a1450ade 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -2724,10 +2724,7 @@ CPed::SetObjective(eObjective newObj, void *entity)
break;
}
} else {
- if ((newObj == OBJECTIVE_WAIT_IN_CAR_THEN_GETOUT || newObj == OBJECTIVE_KILL_CHAR_ON_FOOT ||
- newObj == OBJECTIVE_KILL_CHAR_ANY_MEANS || newObj == OBJECTIVE_FLEE_CHAR_ON_FOOT_TILL_SAFE ||
- newObj == OBJECTIVE_FLEE_CHAR_ON_FOOT_ALWAYS || newObj == OBJECTIVE_GOTO_CHAR_ON_FOOT ||
- newObj == OBJECTIVE_FOLLOW_PED_IN_FORMATION || newObj == OBJECTIVE_LEAVE_VEHICLE
+ if ((newObj == OBJECTIVE_LEAVE_VEHICLE
#ifdef VC_PED_PORTS
|| newObj == OBJECTIVE_LEAVE_CAR_AND_DIE
#endif