From d3ccda4153befaf57a7442f00f95038432d4d2a1 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 7 Feb 2014 01:01:36 +0100 Subject: [PATCH] Let prim checker only open files with ig extension --- code/nel/tools/pacs/build_rbank/prim_checker.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/nel/tools/pacs/build_rbank/prim_checker.cpp b/code/nel/tools/pacs/build_rbank/prim_checker.cpp index 91d709ed8..7bd8b74be 100644 --- a/code/nel/tools/pacs/build_rbank/prim_checker.cpp +++ b/code/nel/tools/pacs/build_rbank/prim_checker.cpp @@ -103,6 +103,9 @@ bool CPrimChecker::build(const string &primitivesPath, const string &igLandPath, // load ig associated to the zone string igname = files[i]; + if (CFile::getExtension(igname) != "ig") + continue; + string ignamelookup = CPath::lookup(igname); //nlinfo("Reading ig '%s'", ignamelookup.c_str()); CIFile igStream(ignamelookup);