From: Rudolf Polzer Date: Sat, 3 Sep 2011 10:39:16 +0000 (+0200) Subject: more fixes X-Git-Tag: xonotic-v0.5.0~17 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ddc674a477784dd72fec95fcc16b7cd25a59051b;p=xonotic%2Fxonotic-maps.pk3dir.git more fixes --- diff --git a/scripts/shader-audit.sh b/scripts/shader-audit.sh index 4a0bb371..5de24bc4 100755 --- a/scripts/shader-audit.sh +++ b/scripts/shader-audit.sh @@ -90,7 +90,7 @@ use_texture() if [ x"$3" = x"map" ]; then lasttex=$2 if [ -n "$AUDIT_ALPHACHANNELS" ]; then - if [ -f "../${2}_norm.tga" ]; then + if [ -f "../${2}_norm.tga" ] || [ -f "../${2}_norm.png" ] || [ -f "../${2}_norm.jpg" ]; then case "$offsetmapping_match8" in '') # no dpoffsetmapping keyword getstats "../${2}_norm.tga" || getstats "../${2}_norm.png" || getstats "../${2}_norm.jpg"