mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 21:41:23 +00:00
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:
parent
385a1965e7
commit
e19de75a99
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue