also allow textures/logos/* (only in logos.shader)
authorRudolf Polzer <divverent@alientrap.org>
Mon, 1 Nov 2010 23:01:41 +0000 (00:01 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 1 Nov 2010 23:01:41 +0000 (00:01 +0100)
scripts/shader-audit.sh

index 348ccfca5c87c4888e21634273ec8444e9a49212..07a3c2bff9fcd78f1b055aa5e6f7edd55093d5bc 100755 (executable)
@@ -149,7 +149,7 @@ use_texture()
                        esac
                        ;;
                ## RULE: textures/FOO/* must use textures/FOO/*, for FOO in decals, liquids_water, liquids_slime, liquids_lava
-               textures/decals/*|textures/liquids_*/*|textures/effects_*/*|textures/screens/*)
+               textures/decals/*|textures/liquids_*/*|textures/effects_*/*|textures/screens/*|textures/logos/*)
                        pre=`echo "$1" | cut -d / -f 1-2`
                        case "$2" in
                                "$pre"/*)