Restore old CVar system

This commit is contained in:
Phillip Stephens 2018-01-21 18:45:41 -08:00
parent cb4fbd6265
commit 2004c97480
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ namespace DataSpec::DNAMP1
{ {
void CTweakGame::initCVars(hecl::CVarManager* mgr) void CTweakGame::initCVars(hecl::CVarManager* mgr)
{ {
mgr->findOrMakeCVar("tweaks.game.hardmodeDamageMult", "", x60_hardmodeDamageMult, hecl::CVar::EFlags::Game | hecl::CVar::Archive | hecl::CVar::Cheat); //mgr->findOrMakeCVar("tweaks.game.hardmodeDamageMult", "", x60_hardmodeDamageMult, hecl::CVar::EFlags::Game | hecl::CVar::Archive | hecl::CVar::Cheat);
mgr->findOrMakeCVar("tweaks.game.hardmodeWeaponMult", "", x64_hardmodeWeaponMult, hecl::CVar::EFlags::Game | hecl::CVar::Archive | hecl::CVar::Cheat); //mgr->findOrMakeCVar("tweaks.game.hardmodeWeaponMult", "", x64_hardmodeWeaponMult, hecl::CVar::EFlags::Game | hecl::CVar::Archive | hecl::CVar::Cheat);
} }
} }

2
hecl

@ -1 +1 @@
Subproject commit 49cd887849d90aa17751d4388309c624aa6599a3 Subproject commit 5ef5b317702fe894db62d5ad3b552c6f789af469

@ -1 +1 @@
Subproject commit 3b70f8267645ba99f44e2f2a9f58a2fad7a27c36 Subproject commit bbd3face0bf695ab0e3e62b41a9a13bbd27b2d11