diff --git a/code/LWOLoader.cpp b/code/LWOLoader.cpp index f0b0ef946..7ea1caf99 100644 --- a/code/LWOLoader.cpp +++ b/code/LWOLoader.cpp @@ -186,7 +186,7 @@ void LWOImporter::InternReadFile( const std::string& pFile, for(std::list::iterator itLayers=mLayers->begin(); itLayers!=mLayers->end(); itLayers++) if (!itLayers->skip) layerCount++; - if (layerCount!=1) + if (layerCount!=2) throw DeadlyImportError("LWO2: The requested layer was not found"); }