summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-01 12:54:20 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-01 12:54:20 +0300
commit1479093d338a06fe84603ce04a989863cddac486 (patch)
treedac491860d0da766aa179b8d0bf82f7051ec4816 /src/core
parent70080f1fdbafe5ecd11c573d4d9fba522a5d8235 (diff)
parente80cbf8bb2abbe3edb7a604ae5b0af366bf10a9a (diff)
Merge remote-tracking branch 'upstream/miami' into miami
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 7ed983fd..fce40bb9 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -277,6 +277,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
@@ -457,6 +460,7 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
#undef PS2_ALPHA_TEST
#undef NO_ISLAND_LOADING
#undef PS2_AUDIO_CHANNELS
+ #undef EXTENDED_OFFSCREEN_DESPAWN_RANGE
#endif
// if these defines are enabled saves are not vanilla compatible without COMPATIBLE_SAVES