mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Move RemotePlayer code to its own cpp/header
This commit is contained in:
parent
7bbd716426
commit
569b89b36f
15 changed files with 423 additions and 370 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue