Просмотр исходного кода

Merge branch 'world' of https://github.com/taylor001/crown into world

mikymod 12 лет назад
Родитель
Сommit
e89f1a2fd8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      engine/resource/UnitResource.cpp

+ 1 - 1
engine/resource/UnitResource.cpp

@@ -138,7 +138,7 @@ void parse_node(JSONElement e, List<GraphNode>& nodes, List<GraphNodeDepth>& nod
 	{
 		DynamicString parent_name;
 		parent.string_value(parent_name);
-		hash::murmur2_32(parent_name.c_str(), parent_name.length(), 0);
+		gn.parent = hash::murmur2_32(parent_name.c_str(), parent_name.length(), 0);
 	}
 
 	gn.position = Vector3(pos[0].float_value(), pos[1].float_value(), pos[2].float_value());