Changed Material name lookup in Def_GetDecoration(), Def_GetReflection(), Def_GetDetailTex() and Def_GetGenerator to use Materials_CheckNumForName() rather than Materials_GetNumForName(). Doing a 'Get' here is not correct.
View differences
Changed Material name lookup in Def_GetDecoration(), Def_GetReflection(), Def_GetDetailTex() and Def_GetGenerator to use Materials_CheckNumForName() rather than Materials_GetNumForName(). Doing a 'Get' here is not correct.