From b6965c89d220de8cc52c8131a32da189203bb02a Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 28 Jul 2010 20:14:53 +0200 Subject: [PATCH] allow map-specific shaders to customize outside textures --- scripts/shader-audit.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index d450fb6c..976f57e8 100644 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -113,9 +113,13 @@ use_texture() case "$2" in "$pre"/map_$map[/_]*) ;; - *) + textures/map_*) + # protect one map's textures from the evil of other maps :P echo "(EE) texture $2 of shader $1 is out of place, recommended file name is $pre/map_$map/*" ;; + *) + # using outside stuff is permitted + ;; esac ;; ## RULE: textures/common/FOO must use textures/common/FOO or textures/common/*/* -- 2.39.2