aboutsummaryrefslogtreecommitdiff
path: root/src/client/clientenvironment.cpp
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2020-04-10 19:49:20 +0200
committerGitHub <noreply@github.com>2020-04-10 19:49:20 +0200
commitf648fb76aef96a1da608c64346fc65d4dd44caa8 (patch)
tree5f46a0d40742c7ae3e81f58728a702c8f3d6035e /src/client/clientenvironment.cpp
parent2349d31bae1bfc4d58fd88efbc88261e69b11dad (diff)
downloadminetest-f648fb76aef96a1da608c64346fc65d4dd44caa8.tar.gz
minetest-f648fb76aef96a1da608c64346fc65d4dd44caa8.tar.bz2
minetest-f648fb76aef96a1da608c64346fc65d4dd44caa8.zip
Drop genericobject.{cpp,h} (#9629)
* Drop genericobject.{cpp,h} This file is not for generic object but for ActiveObject message passing. Put ownership of the various commands to the right objects and cleanup the related code. * Protect ServerActiveObject::m_messages_out * typo fix
Diffstat (limited to 'src/client/clientenvironment.cpp')
-rw-r--r--src/client/clientenvironment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/clientenvironment.cpp b/src/client/clientenvironment.cpp
index 52d133781..6840f2db3 100644
--- a/src/client/clientenvironment.cpp
+++ b/src/client/clientenvironment.cpp
@@ -450,7 +450,7 @@ void ClientEnvironment::addActiveObject(u16 id, u8 type,
// Object initialized:
if ((obj = getActiveObject(new_id))) {
// Final step is to update all children which are already known
- // Data provided by GENERIC_CMD_SPAWN_INFANT
+ // Data provided by AO_CMD_SPAWN_INFANT
const auto &children = obj->getAttachmentChildIds();
for (auto c_id : children) {
if (auto *o = getActiveObject(c_id))