Define NETWORK_VARS_ENABLED for SDKs that require it.

--HG--
extra : rebase_source : 6eec50055697d4c78c812c71f6ae923a558b233f
This commit is contained in:
Nicholas Hastings 2014-02-10 21:04:01 -05:00
parent b83e8e6c29
commit aef08d1f19

View File

@ -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']: