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;