(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
|
@ -74,7 +74,7 @@ path(void)
|
|||
return RET_FAIL;
|
||||
}
|
||||
getsect(sect.sct_dist_x, sect.sct_dist_y, &dsect);
|
||||
pp = BestDistPath(buf, §, &dsect, &move_cost, MOB_ROAD);
|
||||
pp = BestDistPath(buf, §, &dsect, &move_cost);
|
||||
if (!pp) {
|
||||
pr("No path possible from %s to distribution sector %s\n",
|
||||
xyas(sect.sct_x, sect.sct_y, player->cnum),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue