summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-03-06 17:28:59 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-03-06 17:28:59 +0100
commit62b8f0f553917bf2db467941b5a055e08872913f (patch)
tree9e012cf5c6b1e530bee4c02e2540c52e471cdf12 /src/core/Streaming.cpp
parentFix FPEs (diff)
downloadre3-62b8f0f553917bf2db467941b5a055e08872913f.tar
re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.gz
re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.bz2
re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.lz
re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.xz
re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.zst
re3-62b8f0f553917bf2db467941b5a055e08872913f.zip
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r--src/core/Streaming.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp
index ee286278..6d980e18 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -1873,8 +1873,7 @@ CStreaming::RemoveCurrentZonesModels(void)
if (ms_currentPedGrp != -1)
for (i = 0; i < NUMMODELSPERPEDGROUP; i++) {
ms_bIsPedFromPedGroupLoaded[i] = false;
- if (CPopulation::ms_pPedGroups[ms_currentPedGrp].models[i] != -1 &&
- CPopulation::ms_pPedGroups[ms_currentPedGrp].models[i] != MI_MALE01) {
+ if (CPopulation::ms_pPedGroups[ms_currentPedGrp].models[i] != -1) {
SetModelIsDeletable(CPopulation::ms_pPedGroups[ms_currentPedGrp].models[i]);
SetModelTxdIsDeletable(CPopulation::ms_pPedGroups[ms_currentPedGrp].models[i]);
}