Just put this on the top of everything else. All mtl_copy does is call a function which gives the models the same material settings as mat_model. Here:
Code:
material* mtl1;
function mtl_copy(mtl_source)
{
mtl1 = mtl_source;
vec_set(mtl.ambient_blue,mtl1.ambient_blue);
vec_set(mtl.specular_blue,mtl1.specular_blue);
vec_set(mtl.diffuse_blue,mtl1.diffuse_blue);
vec_set(mtl.emissive_blue,mtl1.emissive_blue);
mtl.power = mtl1.power;
}