Who's merging without compiling?
This commit is contained in:
@@ -601,7 +601,7 @@ void Server::parsePlayerTransform(Packet& packet)
|
|||||||
|
|
||||||
bool Server::shouldSendToClient(EntityWrapper childEntity)
|
bool Server::shouldSendToClient(EntityWrapper childEntity)
|
||||||
{
|
{
|
||||||
auto children = m_World->GetChildren(childEntity.ID);
|
auto children = m_World->GetDirectChildren(childEntity.ID);
|
||||||
for (auto it = children.first; it != children.second; it++) {
|
for (auto it = children.first; it != children.second; it++) {
|
||||||
EntityWrapper child(m_World, it->second);
|
EntityWrapper child(m_World, it->second);
|
||||||
if(child.HasComponent("CapturePoint")) {
|
if(child.HasComponent("CapturePoint")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user