Ver código fonte

Merge pull request #278 from dgough/next

Next
Sean Paul Taylor 13 anos atrás
pai
commit
80bfdccc73
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      gameplay/src/Node.cpp

+ 4 - 0
gameplay/src/Node.cpp

@@ -949,6 +949,10 @@ void Node::cloneInto(Node* node, NodeCloneContext &context) const
     }
     }
     node->_world = _world;
     node->_world = _world;
     node->_bounds = _bounds;
     node->_bounds = _bounds;
+    if (_tags)
+    {
+        node->_tags = new std::map<std::string, std::string>(_tags->begin(), _tags->end());
+    }
 }
 }
 
 
 AudioSource* Node::getAudioSource() const
 AudioSource* Node::getAudioSource() const