(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
|
@ -100,7 +100,7 @@ dist(void)
|
|||
pr("Warning: you don't own %s!\n",
|
||||
xyas(dsect.sct_x, dsect.sct_y, player->cnum));
|
||||
|
||||
if (!BestDistPath(buf, §, &dsect, &move_cost, MOB_ROAD)) {
|
||||
if (!BestDistPath(buf, §, &dsect, &move_cost)) {
|
||||
pr("No owned path from %s to %s.\n",
|
||||
xyas(dsect.sct_x, dsect.sct_y, player->cnum),
|
||||
xyas(sect.sct_x, sect.sct_y, player->cnum));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue