summaryrefslogtreecommitdiffstats
path: root/src/re3.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-06-28 18:19:37 +0200
committereray orçunus <erayorcunus@gmail.com>2019-06-28 18:19:37 +0200
commitb5cb82f478405cef727e5400c11287c25069b3ce (patch)
tree71933b3094716a174bdaf5ed3036ad92ac1c3ee7 /src/re3.cpp
parentFootsteps (diff)
parentCHud cleanup: fixes and cosmetic treatment (diff)
downloadre3-b5cb82f478405cef727e5400c11287c25069b3ce.tar
re3-b5cb82f478405cef727e5400c11287c25069b3ce.tar.gz
re3-b5cb82f478405cef727e5400c11287c25069b3ce.tar.bz2
re3-b5cb82f478405cef727e5400c11287c25069b3ce.tar.lz
re3-b5cb82f478405cef727e5400c11287c25069b3ce.tar.xz
re3-b5cb82f478405cef727e5400c11287c25069b3ce.tar.zst
re3-b5cb82f478405cef727e5400c11287c25069b3ce.zip
Diffstat (limited to 'src/re3.cpp')
-rw-r--r--src/re3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/re3.cpp b/src/re3.cpp
index 284b88de..ec4f4439 100644
--- a/src/re3.cpp
+++ b/src/re3.cpp
@@ -126,7 +126,7 @@ spawnCar(int id)
CVector playerpos;
CStreaming::RequestModel(id, 0);
CStreaming::LoadAllRequestedModels(false);
- if(CStreaming::IsModelLoaded(id)){
+ if(CStreaming::HasModelLoaded(id)){
FindPlayerCoors(playerpos);
int node = ThePaths.FindNodeClosestToCoors(playerpos, 0, 100.0f, false, false);
if(node < 0)