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() {