]> git.rm.cloudns.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
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 46164c49f9625f9c468e5ff5841f70790be0f492..d125784a38b2ed4820e186be9de489f451a5dd9e 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"/*)