X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=scripts%2Fshader-audit.sh;h=54018b95e4df17d650f1fff2e9e15e170bac2d70;hb=1fda20e537b86aa78df20b2c9c735fd48663f398;hp=80dd7d20e2ab29e1b35bb29b317d3b9083b476ed;hpb=5bd2dc3a8609d273779c664a12aa0ae6d21e0e84;p=xonotic%2Fxonotic-maps.pk3dir.git diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 80dd7d20..54018b95 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -211,7 +211,9 @@ use_texture() suf=${1#*/map_} map=${suf%%[_/]*} case "$2" in - "$pre"/map_$map[/_]*) + textures/map_$map[/_]*) + ;; + models/map_$map[/_]*) ;; textures/map_*|models/map_*) # protect one map's textures from the evil of other maps :P