summaryrefslogtreecommitdiff
path: root/src/environment.cpp
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2016-10-08 19:08:23 +0200
committerNer'zhul <nerzhul@users.noreply.github.com>2016-10-08 22:27:44 +0200
commit569b89b36fff058390cb90458da4285552a9c97e (patch)
treee4329a3e1a567301e7b09c416bbb7ab64585b7af /src/environment.cpp
parent7bbd716426bf989bf071e2322a9b797cc5f78acb (diff)
downloadminetest-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.cpp2
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;