From aef08d1f19f4239842807424689af2744de09211 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. --HG-- extra : rebase_source : 6eec50055697d4c78c812c71f6ae923a558b233f --- AMBuildScript | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AMBuildScript b/AMBuildScript index cb55ebe0..cbb31cee 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -355,6 +355,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']: