]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/blobdiff - scripts/shader-audit.sh
New map g-23 (small deathmatch arena in space), first official version.
[xonotic/xonotic-maps.pk3dir.git] / scripts / shader-audit.sh
index d450fb6cb730dfdb3b11056fe8c77e0469a53fd1..976f57e831cd96a59c8c26853d143b0af1d77d8a 100644 (file)
@@ -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/*/*