mirror of https://github.com/Nofated095/re-GTA.git
Merge pull request #123 from erorcun/erorcun
One driver owns all the cars fix
This commit is contained in:
commit
313004e1b0
|
@ -813,6 +813,7 @@ CFileLoader::LoadPedObject(const char *line)
|
||||||
if(strcmp(animGroup, CAnimManager::GetAnimGroupName((AssocGroupId)animGroupId)) == 0)
|
if(strcmp(animGroup, CAnimManager::GetAnimGroupName((AssocGroupId)animGroupId)) == 0)
|
||||||
break;
|
break;
|
||||||
mi->m_animGroup = animGroupId;
|
mi->m_animGroup = animGroupId;
|
||||||
|
mi->m_carsCanDrive = carsCanDrive;
|
||||||
|
|
||||||
// ???
|
// ???
|
||||||
CModelInfo::GetModelInfo(MI_LOPOLYGUY)->SetColModel(&CTempColModels::ms_colModelPed1);
|
CModelInfo::GetModelInfo(MI_LOPOLYGUY)->SetColModel(&CTempColModels::ms_colModelPed1);
|
||||||
|
|
Loading…
Reference in New Issue