|
@@ -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
|