From a7209f3766c845d85b86555141ccd3c9e121b523 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Mon, 29 Aug 2022 07:57:31 +0100 Subject: [PATCH] compat: Add GAME_L4D2_OR_NEWER define --- vphysics_jolt/compat/branch_overrides.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vphysics_jolt/compat/branch_overrides.h b/vphysics_jolt/compat/branch_overrides.h index ea4a62b..05a5c09 100644 --- a/vphysics_jolt/compat/branch_overrides.h +++ b/vphysics_jolt/compat/branch_overrides.h @@ -19,6 +19,15 @@ #define override_not_portal2 override #endif +#if defined( GAME_CSGO ) || defined( GAME_DESOLATION ) || defined( GAME_PORTAL2 ) || defined( GAME_L4D2 ) +#define GAME_L4D2_OR_NEWER +#define override_l4d2 override +#define override_not_l4d2 +#else +#define override_l4d2 +#define override_not_l4d2 override +#endif + #if defined( GAME_CSGO ) || defined( GAME_DESOLATION ) || defined( GAME_PORTAL2 ) || defined( GAME_L4D2 ) || defined( GAME_ASW ) #define GAME_ASW_OR_NEWER #define override_asw override