Skip to content

Commit

Permalink
pathfinder: fix typo in rustg_remove_node_astar (tgstation#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvv-vvvv authored and itsmeow committed Dec 28, 2023
1 parent e7429b6 commit 86d5150
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dmsrc/pathfinder.dm
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
*/
#define rustg_add_node_astar(json) RUSTG_CALL(RUST_G, "add_node_astar")(json)

/**²
/**
* Remove every link to the node with unique_id. Replace that node by null
*/
#define rustg_remove_node_astart(unique_id) RUSTG_CALL(RUST_G, "remove_node_astar")(unique_id)
#define rustg_remove_node_astar(unique_id) RUSTG_CALL(RUST_G, "remove_node_astar")(unique_id)

/**
* Compute the shortest path between start_node and goal_node using A*. Heuristic used is simple geometric distance
Expand Down

0 comments on commit 86d5150

Please sign in to comment.