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

@ -415,6 +415,9 @@ std::string Materials::getDescription(t_material & mat)
return std::string(this->other[mat.subIndex].rawname) + " derivate";
}
}
else
if(mat.index<0)
return "any inorganic";
else
return this->inorganic[mat.index].id;
}