From: Ian Jackson Date: Sat, 9 Jan 2010 14:56:50 +0000 (+0000) Subject: Uncomment minprofit in route search (!) X-Git-Tag: 6.4.3^0 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=commitdiff_plain;h=b5cdb0d90df8dde3653e2a1d8d2c3e1c2d04af3e Uncomment minprofit in route search (!) --- diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index 3bdc7f7..1bbaf9f 100644 --- a/yarrg/web/query_routesearch +++ b/yarrg/web/query_routesearch @@ -174,7 +174,7 @@ foreach my $k (qw(MaxMass MaxVolume MaxCapital)) { } push @rsargs, defined $routeparams->{LossPerLeaguePct} ? $routeparams->{LossPerLeaguePct}*0.01 : 1e-9; -push @rsargs, 0; #$routeparams->{MinProfit}; +push @rsargs, $routeparams->{MinProfit}; push @rsargs, 'search',$maxdist, $maxcountea,$maxcountea; push @rsargs, $destspec; push @rsargs, @islandids;