From 47ac6aaf2ae2d26770752fb59873462e81061c7a Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 12 Nov 2022 08:07:51 +0100 Subject: [PATCH] Move definitions --- src/client/game/game.hpp | 3 --- src/client/game/symbols.hpp | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/client/game/game.hpp b/src/client/game/game.hpp index 77a61919..4410d479 100644 --- a/src/client/game/game.hpp +++ b/src/client/game/game.hpp @@ -50,9 +50,6 @@ namespace game private: size_t address_; }; - - // Global game definitions - constexpr auto CMD_MAX_NESTING = 8; } inline size_t operator"" _g(const size_t val) diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 091dfabc..4cf6548b 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -62,6 +62,7 @@ namespace game }; // Variables + WEAK symbol cmd_functions{0x15689FF58}; WEAK symbol sv_cmd_args{0x15689CE30}; @@ -81,6 +82,9 @@ namespace game WEAK symbol SysInputLineWndProc{0x157E78070}; } + // Global game definitions + constexpr auto CMD_MAX_NESTING = 8; + // Reimplementations eModes Com_SessionMode_GetMode(); }