CD-Key check for internet-games can now be disabled

with ID_ENFORCE_KEY_CLIENT 0

This patch is from Kot-in-Action Creative Artel

Fixes #55
This commit is contained in:
Daniel Gibson 2012-11-13 23:47:35 +01:00
parent 385a1965e7
commit e19de75a99

View file

@ -75,6 +75,8 @@ If you have questions concerning this license or the applicable additional terms
#define ID_ALLOW_TOOLS
#endif
#define ID_ENFORCE_KEY_CLIENT 0
#ifndef ID_ENFORCE_KEY
# if !defined( ID_DEDICATED )
# define ID_ENFORCE_KEY 1
@ -83,6 +85,14 @@ If you have questions concerning this license or the applicable additional terms
# endif
#endif
#ifndef ID_ENFORCE_KEY_CLIENT
# if ID_ENFORCE_KEY
# define ID_ENFORCE_KEY_CLIENT 1
# else
# define ID_ENFORCE_KEY_CLIENT 0
# endif
#endif
// async network
/*