Skip to content

Commit

Permalink
Scale up pathfinding sphere radius
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Garcia committed Jan 26, 2024
1 parent 64f3e7d commit 6911d23
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def process_file(input_stream, report):
pathfinding_sphere.node = TAG.read_block_index_signed_short(input_stream, TAG, tag_format.XMLData(pathfinding_sphere_element_node, "node", None, COLLISION.coll_body.nodes_tag_block.count, "collision_node_block"))
input_stream.read(14) # Padding?
pathfinding_sphere.center = TAG.read_point_3d(input_stream, TAG, tag_format.XMLData(pathfinding_sphere_element_node, "center"))
pathfinding_sphere.radius = TAG.read_float(input_stream, TAG, tag_format.XMLData(pathfinding_sphere_element_node, "radius"))
pathfinding_sphere.radius = TAG.read_float(input_stream, TAG, tag_format.XMLData(pathfinding_sphere_element_node, "radius"), True)

COLLISION.pathfinding_spheres.append(pathfinding_sphere)

Expand Down

0 comments on commit 6911d23

Please sign in to comment.