Remove obsolete code from clientenvironment
This commit is contained in:
parent
35c15567af
commit
8b58465aa1
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user