From 019986346899b00444a4e4fd050bca3ded9f9d3a Mon Sep 17 00:00:00 2001 From: false_genesis Date: Tue, 21 Jul 2009 21:35:43 +0000 Subject: [PATCH] * attempt to extract bone models of playable races only (this fixes "file not found" error when extracting). thx bLuma --- src/tools/stuffextract/StuffExtract.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/stuffextract/StuffExtract.cpp b/src/tools/stuffextract/StuffExtract.cpp index ad735c2..ae7a93a 100644 --- a/src/tools/stuffextract/StuffExtract.cpp +++ b/src/tools/stuffextract/StuffExtract.cpp @@ -321,7 +321,7 @@ bool ConvertDBC(void) RaceDataStorage[id].push_back(std::string(ChrRacesFieldNames[field]).append("=").append(value)); } } - if (doModels) + if (doModels && classmask[id]) // skip nonplayable races { // corpse models