From c5f496670d8c68c958b4a04c1a1c0ece5652b3e8 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Mon, 10 Feb 2014 21:04:01 -0500 Subject: [PATCH] Define NETWORK_VARS_ENABLED for SDKs that require it. --- AMBuildScript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index aa6a9aa1..55cde91f 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -347,6 +347,11 @@ class SMConfig(object): compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32'] else: compiler.defines += ['COMPILER_GCC'] + + # For everything after Swarm, this needs to be defined for entity networking + # to work properly with sendprop value changes. + if sdk.name in ['blade', 'insurgency', 'csgo', 'dota']: + compiler.defines += ['NETWORK_VARS_ENABLED'] if sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'l4d2']: if builder.target_platform in ['linux', 'mac']: