Răsfoiți Sursa

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

Azaezel 10 ani în urmă
părinte
comite
f4d40bf1b0
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Engine/source/environment/meshRoad.cpp

+ 1 - 1
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;
    }