Remove obsolete code from clientenvironment

This commit is contained in:
Elias Fleckenstein 2020-12-11 18:14:49 +01:00
parent 35c15567af
commit 8b58465aa1

View File

@ -347,9 +347,6 @@ bool isFreeClientActiveObjectId(const u16 id,
u16 ClientEnvironment::addActiveObject(ClientActiveObject *object) u16 ClientEnvironment::addActiveObject(ClientActiveObject *object)
{ {
GenericCAO *gcao = dynamic_cast<GenericCAO *>(object);
aabb3f box;
// Register object. If failed return zero id // Register object. If failed return zero id
if (!m_ao_manager.registerObject(object)) if (!m_ao_manager.registerObject(object))
return 0; return 0;