Przeglądaj źródła

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

mikymod 12 lat temu
rodzic
commit
e89f1a2fd8
1 zmienionych plików z 1 dodań i 1 usunięć
  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());