mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Move RemotePlayer code to its own cpp/header
This commit is contained in:
@@ -2705,7 +2705,7 @@ u16 ClientEnvironment::addActiveObject(ClientActiveObject *object)
|
||||
}
|
||||
object->setId(new_id);
|
||||
}
|
||||
if(!isFreeClientActiveObjectId(object->getId(), m_active_objects)) {
|
||||
if (!isFreeClientActiveObjectId(object->getId(), m_active_objects)) {
|
||||
infostream<<"ClientEnvironment::addActiveObject(): "
|
||||
<<"id is not free ("<<object->getId()<<")"<<std::endl;
|
||||
delete object;
|
||||
|
Reference in New Issue
Block a user