make -sRGB not force a light compile

This commit is contained in:
Rudolf Polzer 2012-01-16 15:40:08 +01:00
parent 2e243534f9
commit 782a79ceea

View File

@ -137,12 +137,14 @@ while(@ARGV)
elsif($_ eq '-sRGB')
{
push @{$options->{bsp}}, "-sRGBtex", "-sRGBcolor";
push @{$options->{light}}, "-sRGBtex", "-sRGBcolor", "-sRGBlight";
push @{$options->{light}}, "-sRGBtex", "-sRGBcolor", "-sRGBlight"
if defined $options->{light};
}
elsif($_ eq '-nosRGB')
{
push @{$options->{bsp}}, "-nosRGBtex", "-nosRGBcolor";
push @{$options->{light}}, "-nosRGBtex", "-nosRGBcolor", "-nosRGBlight";
push @{$options->{light}}, "-nosRGBtex", "-nosRGBcolor", "-nosRGBlight"
if defined $options->{light};
}
elsif($_ =~ /^--no(-.*)/)
{