Mercurial > eagle-eye
changeset 310:68138c99ee16
merged changes
author | "Rex Tsai <chihchun@kalug.linux.org.tw>" |
---|---|
date | Sun, 04 Jan 2009 23:52:55 +0800 |
parents | 2972852a4ee5 (diff) f6f56a47f383 (current diff) |
children | 6aeedda23e3a |
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:52:55 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 {