Ignore more non-map files in MapValidator script.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14731 282e977c-c81d-0410-88c4-b93c2d0d6712
master
akirschbaum 2011-06-28 19:32:49 +00:00
parent 68906a879b
commit adeafa05cf
1 changed files with 6 additions and 2 deletions

View File

@ -103,17 +103,21 @@ try {
if (file.isFile()
&& path.startsWith(rootDirectory)
&& !name.equalsIgnoreCase("README")
&& !name.endsWith(".animation")
&& !name.endsWith(".msg")
&& !name.endsWith(".py")
&& !name.endsWith(".png")
&& !name.endsWith(".ppm")
&& !name.endsWith(".py")
&& !name.endsWith(".pyc")
&& !name.endsWith(".quests")
&& !name.endsWith(".animation")
&& !name.endsWith(".txt")
&& !name.endsWith(".zip")
&& !name.equals("pshop_copier")
&& !name.equals("pshops_changelog")
&& !name.equals(".emergency")
&& !name.equals("ChangeLog")
&& !name.equals("COPYING")
&& !name.equals("TODO")
&& !path.contains("/Info/")
&& !path.contains("/editor/scripts/")) {
checkMap(file, file.getPath().substring(mapDefaultFolder.length()));