From 526652ebd70e316181ad762507079ad920772a5d Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 25 Sep 2010 13:43:55 +0200 Subject: [PATCH] also allow effects_* as purpose named textures --- scripts/shader-audit.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index da58f444..46164c49 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -149,8 +149,8 @@ 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/*) - pre=${1%/*} + textures/decals/*|textures/liquids_water/*|textures/liquids_slime/*|textures/liquids_lava/*|textures/warpzone/*|textures/effects_*) + pre=`echo "$1" | cut -d / -f 1-2` case "$2" in "$pre"/*) # I _suppose_ this is fine, as tZork committed this pack -- 2.39.2