(BestDistPath): All callers pass MOB_ROAD to parameter mob_type,
remove it. Callers changed.
This commit is contained in:
parent
0ea38208d1
commit
20c02295a6
5 changed files with 6 additions and 6 deletions
|
@ -337,9 +337,9 @@ pathcost(struct sctstr *start, char *path, int mob_type)
|
|||
char *
|
||||
BestDistPath(char *path,
|
||||
struct sctstr *from,
|
||||
struct sctstr *to, double *cost, int mob_type)
|
||||
struct sctstr *to, double *cost)
|
||||
{
|
||||
return BestLandPath(path, from, to, cost, mob_type);
|
||||
return BestLandPath(path, from, to, cost, MOB_ROAD);
|
||||
}
|
||||
|
||||
char *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue