diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2016-10-08 19:08:23 +0200 |
---|---|---|
committer | Ner'zhul <nerzhul@users.noreply.github.com> | 2016-10-08 22:27:44 +0200 |
commit | 569b89b36fff058390cb90458da4285552a9c97e (patch) | |
tree | e4329a3e1a567301e7b09c416bbb7ab64585b7af /src/environment.cpp | |
parent | 7bbd716426bf989bf071e2322a9b797cc5f78acb (diff) | |
download | minetest-569b89b36fff058390cb90458da4285552a9c97e.tar.gz minetest-569b89b36fff058390cb90458da4285552a9c97e.tar.bz2 minetest-569b89b36fff058390cb90458da4285552a9c97e.zip |
Move RemotePlayer code to its own cpp/header
Diffstat (limited to 'src/environment.cpp')
-rw-r--r-- | src/environment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/environment.cpp b/src/environment.cpp index 514aa918a..ff43ac516 100644 --- a/src/environment.cpp +++ b/src/environment.cpp @@ -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; |