1
0
Fork 0
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:
Loic Blot 2016-10-08 19:08:23 +02:00 committed by Ner'zhul
parent 7bbd716426
commit 569b89b36f
15 changed files with 423 additions and 370 deletions

View file

@ -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;