Upgrade to C++17 (#7811)

* Upgrade to C++17
This commit is contained in:
Vincent Stumpf
2023-06-16 20:07:23 -07:00
committed by GitHub
parent 833966f47b
commit 711705df10
19 changed files with 60 additions and 61 deletions

View File

@@ -154,7 +154,7 @@ static int add_path(struct node_heap *heap, int16 x, int16 y, int g_cost, struct
* Note: uses global g_open_set, therefore this method can't be called in parallel or recursivly.
*------------------------------------------*/
bool navi_path_search(struct navi_walkpath_data *wpd, const struct navi_pos *from, const struct navi_pos *dest, cell_chk cell) {
register int i, x, y, dx = 0, dy = 0;
int i, x, y, dx = 0, dy = 0;
struct map_data *mapdata = map_getmapdata(from->m);
struct navi_walkpath_data s_wpd;