From f4d40bf1b0c4a3eb2449b3f95c5898b26aa9d125 Mon Sep 17 00:00:00 2001 From: Azaezel Date: Thu, 5 Nov 2015 10:18:17 -0600 Subject: [PATCH] hooks meshroads up to the material system for castrays (at a minimum, sound playback) --- Engine/source/environment/meshRoad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/environment/meshRoad.cpp b/Engine/source/environment/meshRoad.cpp index e395458f1..0d30267e5 100644 --- a/Engine/source/environment/meshRoad.cpp +++ b/Engine/source/environment/meshRoad.cpp @@ -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; }