BGE: Fix stupid typo error in DupliGroupRecurse

This commit is contained in:
2015-05-15 16:25:45 +02:00
parent 371e5f25a0
commit 3d658bf7a7

View File

@@ -823,8 +823,9 @@ void KX_Scene::DupliGroupRecurse(CValue* obj, int level)
// the logic must be replicated first because we need
// the new logic bricks before relinking
vector<KX_GameObject*>::iterator git;
for (git = m_logicHierarchicalGameObjects.begin(); git != m_logicHierarchicalGameObjects.end()); ++git) {
for (git = m_logicHierarchicalGameObjects.begin(); git != m_logicHierarchicalGameObjects.end(); ++git) {
KX_GameObject *gameobj = *git;
gameobj->ReParentLogic();
// relink any pointers as necessary, sort of a temporary solution