Frees gamepath n for future use
| 79 | |
| 80 | // Frees gamepath n for future use |
| 81 | void FreeGamePath(int n) { |
| 82 | if (!GamePaths[n].used) |
| 83 | return; |
| 84 | |
| 85 | mem_free(GamePaths[n].pathnodes); |
| 86 | mprintf(0, "Path %d lost some\n", n); |
| 87 | |
| 88 | GamePaths[n].num_nodes = 0; |
| 89 | GamePaths[n].used = 0; |
| 90 | Num_game_paths--; |
| 91 | } |
| 92 | |
| 93 | void InitGamePaths() { |
| 94 | static bool f_game_paths_init = false; |
no outgoing calls
no test coverage detected