Mercurial > eagle-eye
changeset 309:9e8dccf177e8
merged changes
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sun, 04 Jan 2009 23:53:15 +0800 |
parents | 2972852a4ee5 (diff) f6f56a47f383 (current diff) |
children | 4fb6b8154524 |
files | |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/planner.pl Sun Jan 04 23:49:41 2009 +0800 +++ b/planner.pl Sun Jan 04 23:53:15 2009 +0800 @@ -71,6 +71,7 @@ foreach my $i (0..$#wingman) { my $cityId = $wingman[$i]; my $city = LoadFile(sprintf("city-%s-dump.yaml", $cityId)); + $city->{type} = "wingman" . ($i+1); if(defined($opt_w)) { $city->{distance} = travelTime($targetCity->island->x, $targetCity->island->y, $city->{island}->{x}, $city->{island}->{y}, 20) - ($i * 20 + 20); } else {