From: Rudolf Polzer Date: Mon, 1 Nov 2010 21:04:25 +0000 (+0100) Subject: shader-audit: support screens.shader too X-Git-Tag: xonotic-v0.1.0preview~57 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=339267a66790c17fb76c8207fe22d24a7ba20769;p=xonotic%2Fxonotic-maps.pk3dir.git shader-audit: support screens.shader too --- diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 0abbd1b0..348ccfca 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 - textures/decals/*|textures/liquids_*/*|textures/effects_*/*) + textures/decals/*|textures/liquids_*/*|textures/effects_*/*|textures/screens/*) pre=`echo "$1" | cut -d / -f 1-2` case "$2" in "$pre"/*)