also make liquids_* generic
authorRudolf Polzer <divverent@alientrap.org>
Sat, 25 Sep 2010 11:45:01 +0000 (13:45 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 25 Sep 2010 11:45:01 +0000 (13:45 +0200)
scripts/shader-audit.sh

index 46164c4..d125784 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, warpzone
-               textures/decals/*|textures/liquids_water/*|textures/liquids_slime/*|textures/liquids_lava/*|textures/warpzone/*|textures/effects_*)
+               textures/decals/*|textures/liquids_*/*|textures/warpzone/*|textures/effects_*/*)
                        pre=`echo "$1" | cut -d / -f 1-2`
                        case "$2" in
                                "$pre"/*)