(BestDistPath): All callers pass MOB_ROAD to parameter mob_type,

remove it.  Callers changed.
This commit is contained in:
Markus Armbruster 2006-06-04 16:49:24 +00:00
parent 0ea38208d1
commit 20c02295a6
5 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ path(void)
return RET_FAIL;
}
getsect(sect.sct_dist_x, sect.sct_dist_y, &dsect);
pp = BestDistPath(buf, &sect, &dsect, &move_cost, MOB_ROAD);
pp = BestDistPath(buf, &sect, &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),