Fix some things
This commit is contained in:
parent
2531216969
commit
f3a2d6f406
@ -21,7 +21,7 @@ namespace Components
|
||||
|
||||
Dvar::Var("xblive_privateserver").set(false);
|
||||
|
||||
std::string playlistFilename = Dvar::Var("playlistFilename").get<const char*>();
|
||||
auto playlistFilename = Dvar::Var("playlistFilename").get<std::string>();
|
||||
FileSystem::File playlist(playlistFilename);
|
||||
|
||||
if (playlist.exists())
|
||||
|
@ -374,7 +374,7 @@ namespace Components
|
||||
Utils::Hook(0x4F66A3, CL_KeyEvent_ConsoleEscape_Stub, HOOK_JUMP).install()->quick();
|
||||
|
||||
// Intermission time dvar
|
||||
Game::Dvar_RegisterFloat("scr_intermissionTime", 10, 0, 120, Game::dvar_flag::DVAR_EXTERNAL, "Time in seconds before match server loads the next map");
|
||||
Game::Dvar_RegisterFloat("scr_intermissionTime", 10, 0, 120, Game::dvar_flag::DVAR_NONE, "Time in seconds before match server loads the next map");
|
||||
|
||||
g_antilag = Game::Dvar_RegisterBool("g_antilag", true, Game::DVAR_CODINFO, "Perform antilag");
|
||||
Utils::Hook(0x5D6D56, QuickPatch::ClientEventsFireWeaponStub, HOOK_JUMP).install()->quick();
|
||||
|
@ -85,12 +85,12 @@ namespace Game
|
||||
DVAR_SCRIPTINFO = 0x10,
|
||||
DVAR_UNKNOWN20 = 0x20,
|
||||
DVAR_CHANGEABLE_RESET = 0x40,
|
||||
DVAR_ROM = 0x80, // Display only, cannot be set by user at all
|
||||
DVAR_UNKNOWN80 = 0x80,
|
||||
DVAR_EXTERNAL = 0x100, // Created by a set command
|
||||
DVAR_USERINFO = 0x200, // Sent to server on connect or change
|
||||
DVAR_SERVERINFO = 0x400, // Sent in response to front end requests
|
||||
DVAR_WRITEPROTECTED = 0x800,
|
||||
DVAR_SYSTEMINFO = 0x1000, // These dvars will be duplicated on all clients
|
||||
DVAR_SYSTEMINFO = 0x1000, // Will be duplicated on all clients
|
||||
DVAR_READONLY = 0x2000, // Read only (same as DVAR_WRITEPROTECTED?)
|
||||
DVAR_SAVED = 0x4000,
|
||||
DVAR_AUTOEXEC = 0x8000,
|
||||
@ -3361,7 +3361,7 @@ namespace Game
|
||||
{
|
||||
const char* name;
|
||||
const char* description;
|
||||
unsigned __int16 flags;
|
||||
unsigned int flags;
|
||||
dvar_type type;
|
||||
bool modified;
|
||||
DvarValue current;
|
||||
|
Loading…
Reference in New Issue
Block a user