Merge pull request #115 from DavidWyand-GG/issue114-FootStepSounds

Fix for Issue #114 for Footstep Sounds
This commit is contained in:
David Wyand 2012-11-05 16:06:01 -08:00
commit 942b1c39c1

View file

@ -616,6 +616,7 @@ bool TerrainBlock::castRay(const Point3F &start, const Point3F &end, RayInfo *in
// Set intersection point.
info->setContactPoint( start, end );
getTransform().mulP( info->point ); // transform to world coordinates for getGridPos
// Set material at contact point.
Point2I gridPos = getGridPos( info->point );