diff options
author | aap <aap@papnet.eu> | 2020-05-10 12:31:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-10 12:31:21 +0200 |
commit | 058690aad74a69a13b5f1f421af9918c394ca0fb (patch) | |
tree | 1544037570bbdae6dd83b54f07931d3abf59bf3e /src/core | |
parent | CSimpleModelInfo (diff) | |
parent | fix boats (diff) | |
download | re3-058690aad74a69a13b5f1f421af9918c394ca0fb.tar re3-058690aad74a69a13b5f1f421af9918c394ca0fb.tar.gz re3-058690aad74a69a13b5f1f421af9918c394ca0fb.tar.bz2 re3-058690aad74a69a13b5f1f421af9918c394ca0fb.tar.lz re3-058690aad74a69a13b5f1f421af9918c394ca0fb.tar.xz re3-058690aad74a69a13b5f1f421af9918c394ca0fb.tar.zst re3-058690aad74a69a13b5f1f421af9918c394ca0fb.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Streaming.cpp | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index eb7fc8f5..cc746553 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -1397,12 +1397,44 @@ CStreaming::StreamVehiclesAndPeds(void) SetModelIsDeletable(MI_CHOPPER); if (FindPlayerPed()->m_pWanted->AreMiamiViceRequired()) { - //TODO(MIAMI): miami vice peds + SetModelIsDeletable(MI_VICE1); + SetModelIsDeletable(MI_VICE2); + SetModelIsDeletable(MI_VICE3); + SetModelIsDeletable(MI_VICE4); + SetModelIsDeletable(MI_VICE5); + SetModelIsDeletable(MI_VICE6); + SetModelIsDeletable(MI_VICE7); + SetModelIsDeletable(MI_VICE8); + switch (CCarCtrl::MiamiViceCycle) { + case 0: + RequestModel(MI_VICE1, STREAMFLAGS_DONT_REMOVE); + RequestModel(MI_VICE2, STREAMFLAGS_DONT_REMOVE); + break; + case 1: + RequestModel(MI_VICE3, STREAMFLAGS_DONT_REMOVE); + RequestModel(MI_VICE4, STREAMFLAGS_DONT_REMOVE); + break; + case 2: + RequestModel(MI_VICE5, STREAMFLAGS_DONT_REMOVE); + RequestModel(MI_VICE6, STREAMFLAGS_DONT_REMOVE); + break; + case 3: + RequestModel(MI_VICE7, STREAMFLAGS_DONT_REMOVE); + RequestModel(MI_VICE8, STREAMFLAGS_DONT_REMOVE); + break; + } RequestModel(MI_VICECHEE, STREAMFLAGS_DONT_REMOVE); } else { SetModelIsDeletable(MI_VICECHEE); - //TODO(MIAMI): miami vice peds + SetModelIsDeletable(MI_VICE1); + SetModelIsDeletable(MI_VICE2); + SetModelIsDeletable(MI_VICE3); + SetModelIsDeletable(MI_VICE4); + SetModelIsDeletable(MI_VICE5); + SetModelIsDeletable(MI_VICE6); + SetModelIsDeletable(MI_VICE7); + SetModelIsDeletable(MI_VICE8); } if(timeBeforeNextLoad >= 0) |