From 73e5e4b635674678f25e2ea885ef77d0dc439b28 Mon Sep 17 00:00:00 2001 From: Federico Cecchetto Date: Tue, 27 Apr 2021 01:35:55 +0200 Subject: [PATCH] Yea --- src/component/patches.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/patches.cpp b/src/component/patches.cpp index 3b6a2c5a..b5ced0e0 100644 --- a/src/component/patches.cpp +++ b/src/component/patches.cpp @@ -35,9 +35,9 @@ namespace patches pm_crashland_hook.create(game::base_address + 0x688A20, pm_crashland_stub); dvars::jump_enableFallDamage = dvars::register_bool("jump_enableFallDamage", 1, game::DVAR_FLAG_REPLICATED); - dvars::jump_enableFallDamage = dvars::register_float("jump_height", 39, 0, 1000, game::DVAR_FLAG_REPLICATED); - dvars::jump_enableFallDamage = dvars::register_float("g_gravity", 800, 1, 1000, game::DVAR_FLAG_REPLICATED); - dvars::jump_enableFallDamage = dvars::register_int("g_speed", 190, 0, 1000, game::DVAR_FLAG_REPLICATED); + dvars::register_float("jump_height", 39, 0, 1000, game::DVAR_FLAG_REPLICATED); + dvars::register_float("g_gravity", 800, 1, 1000, game::DVAR_FLAG_REPLICATED); + dvars::register_int("g_speed", 190, 0, 1000, game::DVAR_FLAG_REPLICATED); } }; }