Skip to content

Commit

Permalink
Routing only takes account of known flaksites
Browse files Browse the repository at this point in the history
If it's not on the map, your crews shouldn't know to avoid it!
  • Loading branch information
ec429 committed Mar 13, 2016
1 parent d40c85e commit 0cf8c13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routing.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ int genroute(unsigned int from[2], unsigned int ti, unsigned int route[8][2], co
}
for(unsigned int f=0;f<nflaks;f++)
{
if(!flaks[f].mapped) continue;
if(!datewithin(state->now, flaks[f].entry, flaks[f].exit)) continue;
double d, lambda;
linedist(try[l+1][1]-try[l][1],
Expand Down

0 comments on commit 0cf8c13

Please sign in to comment.