summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-08 23:03:50 +0300
committereray orçunus <erayorcunus@gmail.com>2019-07-08 23:03:50 +0300
commit69ee4acc97504ffedf09995e75da62417abeb231 (patch)
treed5bf0440c7bf09104d540adb0c7b9da3876bbe37 /src/core
parentedf5ac2626ce17b74037281aa3c9730902b4b1d4 (diff)
One driver owns all the cars fix
Signed-off-by: eray orçunus <erayorcunus@gmail.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/FileLoader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/FileLoader.cpp b/src/core/FileLoader.cpp
index fdc3b9d7..b949eb98 100644
--- a/src/core/FileLoader.cpp
+++ b/src/core/FileLoader.cpp
@@ -813,6 +813,7 @@ CFileLoader::LoadPedObject(const char *line)
if(strcmp(animGroup, CAnimManager::GetAnimGroupName((AssocGroupId)animGroupId)) == 0)
break;
mi->m_animGroup = animGroupId;
+ mi->m_carsCanDrive = carsCanDrive;
// ???
CModelInfo::GetModelInfo(MI_LOPOLYGUY)->SetColModel(&CTempColModels::ms_colModelPed1);