remove ASE parsing break added in c1968823ad : original intent was to keep parsing

crash case (iMaterialCount = 0) is handled by 47dbabadcd
pull/5634/head
Garux 2024-06-24 07:36:50 +05:00
parent adff2f388a
commit f9d3bff2f2
1 changed files with 0 additions and 1 deletions

View File

@ -513,7 +513,6 @@ void Parser::ParseLV1MaterialListBlock() {
if (iIndex >= iMaterialCount) { if (iIndex >= iMaterialCount) {
LogWarning("Out of range: material index is too large"); LogWarning("Out of range: material index is too large");
iIndex = iMaterialCount - 1; iIndex = iMaterialCount - 1;
return;
} }
// get a reference to the material // get a reference to the material