From 8b58465aa1d63e5f6dbbd9a7a43bfa7dc257c4de Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Fri, 11 Dec 2020 18:14:49 +0100 Subject: [PATCH] Remove obsolete code from clientenvironment --- src/client/clientenvironment.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/client/clientenvironment.cpp b/src/client/clientenvironment.cpp index 7ac9cd2d4..d480c5056 100644 --- a/src/client/clientenvironment.cpp +++ b/src/client/clientenvironment.cpp @@ -347,9 +347,6 @@ bool isFreeClientActiveObjectId(const u16 id, u16 ClientEnvironment::addActiveObject(ClientActiveObject *object) { - GenericCAO *gcao = dynamic_cast(object); - aabb3f box; - // Register object. If failed return zero id if (!m_ao_manager.registerObject(object)) return 0;