fix: startup on xash when hl25 extended structs enabled (closes #677)
This commit is contained in:
parent
2fb0419765
commit
24be4479de
1 changed files with 2 additions and 1 deletions
|
|
@ -603,8 +603,9 @@ bool Game::isSoftwareRenderer () {
|
||||||
|
|
||||||
bool Game::is25thAnniversaryUpdate () {
|
bool Game::is25thAnniversaryUpdate () {
|
||||||
static ConVarRef sv_use_steam_networking ("sv_use_steam_networking");
|
static ConVarRef sv_use_steam_networking ("sv_use_steam_networking");
|
||||||
|
static ConVarRef host_hl25_extended_structs ("host_hl25_extended_structs");
|
||||||
|
|
||||||
return sv_use_steam_networking.exists ();
|
return sv_use_steam_networking.exists () || host_hl25_extended_structs.exists ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Game::pushConVar (StringRef name, StringRef value, StringRef info, bool bounded, float min, float max, int32_t varType, bool missingAction, StringRef regval, ConVar *self) {
|
void Game::pushConVar (StringRef name, StringRef value, StringRef info, bool bounded, float min, float max, int32_t varType, bool missingAction, StringRef regval, ConVar *self) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue