From 6b0f6cc395ccac8c68ffe0c401a5e50b5ef73a63 Mon Sep 17 00:00:00 2001 From: Edo Date: Thu, 20 Apr 2023 14:11:13 +0200 Subject: [PATCH] [General]: Remove unused macro (#954) --- src/Components/Modules/Branding.cpp | 3 +-- src/Components/Modules/ServerList.hpp | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Components/Modules/Branding.cpp b/src/Components/Modules/Branding.cpp index 7e926eec..d35580da 100644 --- a/src/Components/Modules/Branding.cpp +++ b/src/Components/Modules/Branding.cpp @@ -74,8 +74,7 @@ namespace Components Game::dvar_t* Branding::Dvar_RegisterUIBuildLocation(const char* dvarName, [[maybe_unused]] float x, [[maybe_unused]] float y, float min, float max, [[maybe_unused]] int flags, const char* description) { - return Game::Dvar_RegisterVec2(dvarName, -60.0f, - 474.0f, min, max, Game::DVAR_ROM, description); + return Game::Dvar_RegisterVec2(dvarName, -60.0f, 472.0f, min, max, Game::DVAR_ROM, description); } void Branding::RegisterBrandingDvars() diff --git a/src/Components/Modules/ServerList.hpp b/src/Components/Modules/ServerList.hpp index 2f69f5d4..a0ebfc28 100644 --- a/src/Components/Modules/ServerList.hpp +++ b/src/Components/Modules/ServerList.hpp @@ -1,8 +1,5 @@ #pragma once -// This enables version filtering -#define VERSION_FILTER - namespace Components { class ServerList : public Component