mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2025-01-11 12:34:07 +00:00
force load weapons as long as we dont stream em yet
This commit is contained in:
parent
d9a8bab631
commit
7919b92d28
|
@ -1331,6 +1331,12 @@ CStreaming::LoadInitialPeds(void)
|
||||||
RequestModel(MI_COP, STREAMFLAGS_DONT_REMOVE);
|
RequestModel(MI_COP, STREAMFLAGS_DONT_REMOVE);
|
||||||
RequestModel(MI_MALE01, STREAMFLAGS_DONT_REMOVE);
|
RequestModel(MI_MALE01, STREAMFLAGS_DONT_REMOVE);
|
||||||
RequestModel(MI_TAXI_D, STREAMFLAGS_DONT_REMOVE);
|
RequestModel(MI_TAXI_D, STREAMFLAGS_DONT_REMOVE);
|
||||||
|
|
||||||
|
// TODO(MIAMI): remove this hack once we can stream weapons
|
||||||
|
for(int i = 0; i < MODELINFOSIZE; i++)
|
||||||
|
if(CModelInfo::GetModelInfo(i) &&
|
||||||
|
CModelInfo::GetModelInfo(i)->GetModelType() == MITYPE_WEAPON)
|
||||||
|
RequestModel(i, STREAMFLAGS_DONT_REMOVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue