hooks meshroads up to the material system for castrays (at a minimum, sound playback)

This commit is contained in:
Azaezel 2015-11-05 10:18:17 -06:00
parent bc44aba31c
commit f4d40bf1b0

View file

@ -1552,7 +1552,7 @@ bool MeshRoad::castRay( const Point3F &s, const Point3F &e, RayInfo *info )
info->point.interpolate(start, end, out);
info->face = -1;
info->object = this;
info->material = this->mMatInst[0];
return true;
}