find the original shaderlist properly
authorRudolf Polzer <divVerent@alientrap.org>
Thu, 27 May 2010 14:04:53 +0000 (16:04 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Thu, 27 May 2010 14:04:53 +0000 (16:04 +0200)
misc/tools/xonotic-map-compiler

index 8b6cd4d59b32ce39eb3ce7eafec4b463a60caa4f..7bdd58e904d3cf744ad7bcb35f7d1bd057f710f5 100755 (executable)
@@ -180,7 +180,7 @@ for my $m(@{$options->{maps}})
        {
                my $previous_shaderlist = undef;
                my $shaderlist = "";
-               if(open my $fh, "<", "$XONOTICDIR/data/xonotic-maps.pk3dir/scripts/shaderlist.txt")
+               if(open my $fh, "<", "$XONOTICDIR/data/scripts/shaderlist.txt")
                {
                        while(<$fh>)
                        {