From 523b23339cd761d934501dcbcc059d131b5a28c4 Mon Sep 17 00:00:00 2001 From: withmorten Date: Tue, 13 Jul 2021 00:21:11 +0200 Subject: [PATCH] disable USE_CUTSCENE_SHADOW_FOR_PED if COMPATIBLE_SAVES isn't defined --- src/core/config.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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