mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Engine: fix compile error
Preprocessor directive should've been used on newly added CHLClient::Init + fixed missing include.
This commit is contained in:
parent
2dcc849e2d
commit
1c2c61a397
@ -14,12 +14,14 @@
|
||||
#include "windows/id3dx.h"
|
||||
#include "geforce/reflex.h"
|
||||
#include "vengineclient_impl.h"
|
||||
#include "globalvars_base.h"
|
||||
#include "cdll_engine_int.h"
|
||||
#ifndef DEDICATED
|
||||
#include "materialsystem/cmaterialsystem.h"
|
||||
#endif // !DEDICATED
|
||||
/*****************************************************************************/
|
||||
|
||||
#ifndef DEDICATED
|
||||
static CGlobalVarsBase dummyvars(true);
|
||||
// So stuff that might reference gpGlobals during DLL initialization won't have a NULL pointer.
|
||||
// Once the engine calls Init on this DLL, this pointer gets assigned to the shared data in the engine
|
||||
@ -31,7 +33,6 @@ int CHLClient::Init(CHLClient* thisptr, CreateInterfaceFn appSystemFactory, CGlo
|
||||
return CHLClient__Init(thisptr, appSystemFactory, pGlobals);
|
||||
}
|
||||
|
||||
#ifndef DEDICATED
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: pre frame stage notify hook
|
||||
//-----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user