summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-31 20:07:29 +0300
committerGitHub <noreply@github.com>2021-07-31 20:07:29 +0300
commit232b5a04bad3ff2fc3a054b790918042082c7beb (patch)
treef7105f1270ef1c86b9f0160d604ca23745f734de /src/core
parent9d25e7f315c3cb16315021af6d8465dc38a6c736 (diff)
parentf73dfa12e6c41d1dcd16a4f5a220cc91c346ba7c (diff)
Merge pull request #1251 from Sergeanur/HigherDrawDist
Make cars and peds to not despawn when you look away
Diffstat (limited to 'src/core')
-rw-r--r--src/core/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/config.h b/src/core/config.h
index 2abaec13..21a8b738 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -265,6 +265,9 @@ enum Config {
#define NO_MOVIES // add option to disable intro videos
+#define EXTENDED_OFFSCREEN_DESPAWN_RANGE // Use onscreen despawn range for offscreen peds and vehicles to avoid them despawning in the distance when you look
+ // away
+
#if defined(__LP64__) || defined(_WIN64)
#define FIX_BUGS_64 // Must have fixes to be able to run 64 bit build
#endif
@@ -450,6 +453,7 @@ enum Config {
#undef PS2_ALPHA_TEST
#undef NO_ISLAND_LOADING
#undef PS2_AUDIO_CHANNELS
+ #undef EXTENDED_OFFSCREEN_DESPAWN_RANGE
#define PC_PARTICLE
#define VC_PED_PORTS // To not process collisions always. But should be tested if that's really beneficial
#define VC_RAIN_NERF // Reduces number of rain particles