diff options
author | aap <aap@papnet.eu> | 2020-05-26 11:39:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 11:39:16 +0200 |
commit | 800d706935a9ef2ccd360584416a4b24d99be718 (patch) | |
tree | ea345190077017dc3f5783cbe531f193e11ec5f6 /src/core/Streaming.cpp | |
parent | eSurfaceType (diff) | |
parent | Ped.h include not needed (diff) | |
download | re3-800d706935a9ef2ccd360584416a4b24d99be718.tar re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.gz re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.bz2 re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.lz re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.xz re3-800d706935a9ef2ccd360584416a4b24d99be718.tar.zst re3-800d706935a9ef2ccd360584416a4b24d99be718.zip |
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r-- | src/core/Streaming.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index 0ce8b50e..985b28c9 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -1449,7 +1449,8 @@ CStreaming::StreamVehiclesAndPeds(void) timeBeforeNextLoad--; else if(ms_numVehiclesLoaded <= desiredNumVehiclesLoaded){ CZoneInfo zone; - CTheZones::GetZoneInfoForTimeOfDay(&FindPlayerCoors(), &zone); + CVector coors = FindPlayerCoors(); + CTheZones::GetZoneInfoForTimeOfDay(&coors, &zone); int32 maxReq = -1; int32 mostRequestedRating = 0; for(i = 0; i < CCarCtrl::TOTAL_CUSTOM_CLASSES; i++){ |