mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Rename 'ip' cvar global to avoid conflicts
Avoid shadowing conflicts due to short name.
This commit is contained in:
parent
9287f00841
commit
e0e7adbed4
@ -33,7 +33,7 @@ extern ConVar* staticProp_gather_size_weight;
|
||||
extern ConVar* model_defaultFadeDistScale;
|
||||
extern ConVar* model_defaultFadeDistMin;
|
||||
|
||||
extern ConVar* ip;
|
||||
extern ConVar* ip_cvar;
|
||||
extern ConVar* hostname;
|
||||
extern ConVar* hostdesc;
|
||||
extern ConVar* hostip;
|
||||
|
@ -28,7 +28,7 @@ ConVar* staticProp_gather_size_weight = nullptr;
|
||||
ConVar* model_defaultFadeDistScale = nullptr;
|
||||
ConVar* model_defaultFadeDistMin = nullptr;
|
||||
|
||||
ConVar* ip = nullptr;
|
||||
ConVar* ip_cvar = nullptr;
|
||||
ConVar* hostname = nullptr;
|
||||
ConVar* hostdesc = nullptr;
|
||||
ConVar* hostip = nullptr;
|
||||
@ -505,7 +505,7 @@ void ConVar::InitShipped(void)
|
||||
origin_disconnectWhenOffline = g_pCVar->FindVar("origin_disconnectWhenOffline");
|
||||
#endif // !DEDICATED
|
||||
mp_gamemode = g_pCVar->FindVar("mp_gamemode");
|
||||
ip = g_pCVar->FindVar("ip");
|
||||
ip_cvar = g_pCVar->FindVar("ip");
|
||||
hostname = g_pCVar->FindVar("hostname");
|
||||
hostip = g_pCVar->FindVar("hostip");
|
||||
hostport = g_pCVar->FindVar("hostport");
|
||||
|
Loading…
x
Reference in New Issue
Block a user