summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-07-27 21:27:13 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-07-27 21:27:13 +0200
commitc4f5cbce5eb98186592896ecd5cf0997a8899e83 (patch)
tree1b0487bf1b6244d2c526df14d24fc5a2d40acc50
parentfix (diff)
downloadre3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.tar
re3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.tar.gz
re3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.tar.bz2
re3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.tar.lz
re3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.tar.xz
re3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.tar.zst
re3-c4f5cbce5eb98186592896ecd5cf0997a8899e83.zip
-rw-r--r--src/core/Game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp
index d2646512..93137a49 100644
--- a/src/core/Game.cpp
+++ b/src/core/Game.cpp
@@ -855,7 +855,7 @@ void CGame::Process(void)
TheCamera.Process();
CStreaming::LoadScene(TheCamera.GetPosition());
//CGame::GenerateTempPedAtStartOfNetworkGame();
- if (/* ?*/true){
+ if (!CStreaming::HasModelLoaded(MI_PLAYER)){
CStreaming::RequestSpecialModel(MI_PLAYER, "player", STREAMFLAGS_DEPENDENCY | STREAMFLAGS_DONT_REMOVE);
CStreaming::LoadAllRequestedModels(false);
}