Define NETWORK_VARS_ENABLED for SDKs that require it.
This commit is contained in:
parent
53a0acc2e3
commit
c5f496670d
@ -348,6 +348,11 @@ class SMConfig(object):
|
|||||||
else:
|
else:
|
||||||
compiler.defines += ['COMPILER_GCC']
|
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 sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'l4d2']:
|
||||||
if builder.target_platform in ['linux', 'mac']:
|
if builder.target_platform in ['linux', 'mac']:
|
||||||
compiler.defines += ['NO_MALLOC_OVERRIDE']
|
compiler.defines += ['NO_MALLOC_OVERRIDE']
|
||||||
|
Loading…
Reference in New Issue
Block a user