From: Rudolf Polzer Date: Sat, 25 Sep 2010 11:45:01 +0000 (+0200) Subject: also make liquids_* generic X-Git-Tag: xonotic-v0.1.0preview~151^2~4 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-maps.pk3dir.git;a=commitdiff_plain;h=7d22b3576fcdf11ff2371ecacf83fc03bbf3ccef;hp=526652ebd70e316181ad762507079ad920772a5d also make liquids_* generic --- diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 46164c49..d125784a 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -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"/*)