fix(game): update symbols

This commit is contained in:
FutureRave 2022-11-21 18:37:25 +00:00
parent 337b52891c
commit 0e576d3852
3 changed files with 9 additions and 15 deletions

View File

@ -19,11 +19,4 @@ namespace game
}();
return base;
}
CmdArgs* cmd_args_t::operator->() const
{
return Sys_GetTLS()->cmdArgs;
}
cmd_args_t cmd_args;
}

View File

@ -50,13 +50,6 @@ namespace game
private:
size_t address_;
};
struct cmd_args_t
{
CmdArgs* operator->() const;
};
extern cmd_args_t cmd_args;
}
inline size_t operator"" _g(const size_t val)

View File

@ -84,6 +84,14 @@ namespace game
// Global game definitions
constexpr auto CMD_MAX_NESTING = 8;
// Reimplementations
struct cmd_args_t
{
CmdArgs* operator->() const
{
return Sys_GetTLS()->cmdArgs;
}
};
// Re-implementations
eModes Com_SessionMode_GetMode();
}