summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-13 00:21:11 +0200
committerwithmorten <morten.with@gmail.com>2021-07-13 00:21:11 +0200
commit523b23339cd761d934501dcbcc059d131b5a28c4 (patch)
tree879e23cc9252476ae3eea3d133b64fe3ce8d766a
parentc982700a699b1f4cdc0eb7e49239658c5dba2124 (diff)
disable USE_CUTSCENE_SHADOW_FOR_PED if COMPATIBLE_SAVES isn't defined
-rw-r--r--src/core/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/config.h b/src/core/config.h
index 244794d5..9c318350 100644
--- a/src/core/config.h
+++ b/src/core/config.h
@@ -318,7 +318,7 @@ enum Config {
#undef PC_WATER
#define WATER_CHEATS
-//#define USE_CUTSCENE_SHADOW_FOR_PED
+//#define USE_CUTSCENE_SHADOW_FOR_PED // requires COMPATIBLE_SAVES
//#define DISABLE_CUTSCENE_SHADOWS
// Pad
@@ -451,4 +451,9 @@ static_assert(false, "SUPPORT_XBOX_SCRIPT and SUPPORT_MOBILE_SCRIPT are mutually
#undef PS2_AUDIO_CHANNELS
#endif
+// if these defines are enabled saves are not vanilla compatible without COMPATIBLE_SAVES
+#ifndef COMPATIBLE_SAVES
+#undef USE_CUTSCENE_SHADOW_FOR_PED
+#endif
+
#endif // VANILLA_DEFINES