mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix client dll crash during squirrel script init
The 'developer' cvar was nullptr because it was never assigned to the developer cvar address (it was defined away).
This commit is contained in:
parent
99a33e95f1
commit
1e23ddbf35
@ -232,8 +232,8 @@ void ConVar::InitShipped(void) const
|
||||
#if !defined (GAMEDLL_S0) && !defined (GAMEDLL_S1)
|
||||
bhit_enable = g_pCVar->FindVar("bhit_enable");
|
||||
#endif // !GAMEDLL_S0 && !GAMEDLL_S1
|
||||
developer = g_pCVar->FindVar("developer");
|
||||
#endif // !CLIENT_DLL
|
||||
developer = g_pCVar->FindVar("developer");
|
||||
#ifndef DEDICATED
|
||||
cl_threaded_bone_setup = g_pCVar->FindVar("cl_threaded_bone_setup");
|
||||
#endif // !DEDICATED
|
||||
|
Loading…
x
Reference in New Issue
Block a user