summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-07-23 20:07:44 +0200
committerSergeanur <s.anureev@yandex.ua>2021-07-31 19:32:13 +0200
commit835fa4e74b1014ca1ccef83979f039cafb75e3a4 (patch)
tree510307535d59673ac5aea45b8ac834bf53489f67 /src/core
parentCVisibilityPlugins and CRenderer fixes; pulled MLO back in (diff)
downloadre3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.tar
re3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.tar.gz
re3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.tar.bz2
re3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.tar.lz
re3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.tar.xz
re3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.tar.zst
re3-835fa4e74b1014ca1ccef83979f039cafb75e3a4.zip
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 307f55d3..9a1b9846 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -274,6 +274,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
@@ -449,6 +452,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