our $MINIMAPFLAGS = '';
# Default order of commands
- our $ORDER = 'light,vis,minimap';
+ our $ORDER = 'vis,light';
# end of user changable part
or die "rename ${m}_s.bsp $m.bsp: $!";
}
my @o = @{$options->{order}};
- push @o, qw/light vis minimap/;
+ push @o, qw/light vis/;
my %o = ();
for(@o)
or die "-vis: $?";
}
}
- if($_ eq 'minimap')
- {
- if(defined $options->{minimap})
- {
- q3map2 '-minimap', @{$options->{minimap}}, "$m.map"
- or die "-minimap: $?";
- }
- }
}
if($postscale != 1)
or die "rename ${m}_s.bsp $m.bsp: $!";
}
+ if(defined $options->{minimap})
+ {
+ q3map2 '-minimap', @{$options->{minimap}}, "$m.map"
+ or die "-minimap: $?";
+ }
+
unlink "$m.srf";
unlink "$m.prt";