From cb847d0edd57fcb71cc1eae6a191b7881f778a5f Mon Sep 17 00:00:00 2001 From: Persson-dev Date: Sat, 4 Dec 2021 13:49:50 +0100 Subject: [PATCH] refactor: removed unused declarations --- include/render/WorldRenderer.h | 3 --- src/game/client/ClientGame.cpp | 1 - 2 files changed, 4 deletions(-) diff --git a/include/render/WorldRenderer.h b/include/render/WorldRenderer.h index 474a836..b14f22c 100644 --- a/include/render/WorldRenderer.h +++ b/include/render/WorldRenderer.h @@ -46,9 +46,6 @@ public: void loadModels(); - void addTower(game::TowerPtr tower); - void removeTower(game::TowerPtr tower); - static ImVec4 getImGuiTeamColor(game::TeamColor color); void update(); diff --git a/src/game/client/ClientGame.cpp b/src/game/client/ClientGame.cpp index c2fe69e..793913e 100644 --- a/src/game/client/ClientGame.cpp +++ b/src/game/client/ClientGame.cpp @@ -21,7 +21,6 @@ m_WorldRenderer(&m_WorldClient, this) { GetDispatcher()->RegisterHandler(protocol::PacketType::UpdateMoney, this); GetDispatcher()->RegisterHandler(protocol::PacketType::Disconnect, this); GetDispatcher()->RegisterHandler(protocol::PacketType::WorldData, this); - GetDispatcher()->RegisterHandler(protocol::PacketType::WorldAddTower, this); } ClientGame::~ClientGame() {