I really wonder why scale ever worked... ;)
authorRudolf Polzer <divverent@alientrap.org>
Sat, 6 Nov 2010 15:33:48 +0000 (16:33 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 6 Nov 2010 15:33:48 +0000 (16:33 +0100)
misc/tools/xonotic-map-compiler

index c4f59a9ab30531e4e1d09fe72106df5d88c56bdc..5d3f8bca6343f5ef42d52ae9aaccfc0a37cffcb8 100755 (executable)
@@ -310,7 +310,7 @@ for my $m(@{$options->{maps}})
                        or die "-bsp: $?";
                if($prescale != 1)
                {
-                       q3map2 '-scale', @{$options->{scale}}, $prescale, "$m.bsp"
+                       q3map2 '-scale', $prescale, "$m.bsp"
                                or die "-scale: $?";
                        rename "${m}_s.bsp", "$m.bsp"
                                or die "rename ${m}_s.bsp $m.bsp: $!";
@@ -342,7 +342,7 @@ for my $m(@{$options->{maps}})
 
                if($postscale != 1)
                {
-                       q3map2 '-scale', @{$options->{scale}}, $postscale, "$m.bsp"
+                       q3map2 '-scale', $postscale, "$m.bsp"
                                or die "-scale: $?";
                        rename "${m}_s.bsp", "$m.bsp"
                                or die "rename ${m}_s.bsp $m.bsp: $!";