mirror of
https://gitlab.com/xonotic/xonotic
synced 2025-01-22 14:03:49 +00:00
make -sRGB not force a light compile
This commit is contained in:
parent
2e243534f9
commit
782a79ceea
@ -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(-.*)/)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user