Missed a use of MOB_ROAD.
This commit is contained in:
parent
5ad86bc7ce
commit
1479673302
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ best(void)
|
|||
while (!player->aborted && nxtsct(&nstr2, &s2)) {
|
||||
if (s2.sct_own != player->cnum)
|
||||
continue;
|
||||
path = BestLandPath(buf, &s1, &s2, &cost, MOB_ROAD);
|
||||
path = BestLandPath(buf, &s1, &s2, &cost, MOB_MOVE);
|
||||
if (path)
|
||||
pr("Best path from %s to %s is %s (cost %1.3f)\n",
|
||||
xyas(s1.sct_x, s1.sct_y, player->cnum),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue