A little temporary fix before the mood overhaul

develop
simon 2010-05-05 14:14:22 +02:00
parent a6dc645f48
commit 25d66ee039
1 changed files with 4 additions and 1 deletions

@ -416,7 +416,10 @@ std::string Materials::getDescription(t_material & mat)
}
}
else
return this->inorganic[mat.index].id;
if(mat.index<0)
return "any inorganic";
else
return this->inorganic[mat.index].id;
}
else
{