Skip short towers or we end up with way too many.
This commit is contained in:
parent
d77acbd863
commit
f3db2e778c
1 changed files with 6 additions and 3 deletions
|
@ -88,17 +88,20 @@ while( <IN> ) {
|
||||||
|
|
||||||
if ( $height < 50.0 ) {
|
if ( $height < 50.0 ) {
|
||||||
# short tower
|
# short tower
|
||||||
$model = "radio_short.xml";
|
$model = "Models/Structures/radio-short.xml";
|
||||||
$base_elev = $top_msl - 50.0;
|
$base_elev = $top_msl - 50.0;
|
||||||
$shortcount++;
|
$shortcount++;
|
||||||
|
|
||||||
|
# but let's skip because too many of these just get too crazy
|
||||||
|
next;
|
||||||
} elsif ( $height < 100.0 ) {
|
} elsif ( $height < 100.0 ) {
|
||||||
# medium tower
|
# medium tower
|
||||||
$model = "radio_medium.xml";
|
$model = "Models/Structures/radio-medium.xml";
|
||||||
$base_elev = $top_msl - 100.0;
|
$base_elev = $top_msl - 100.0;
|
||||||
$mediumcount++;
|
$mediumcount++;
|
||||||
} else {
|
} else {
|
||||||
# tall tower
|
# tall tower
|
||||||
$model = "radio_tall.xml";
|
$model = "Models/Structures/radio-tall.xml";
|
||||||
$base_elev = $top_msl - 610.0;
|
$base_elev = $top_msl - 610.0;
|
||||||
$tallcount++;
|
$tallcount++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue