Core: Minor code style corrections

This commit is contained in:
Shauren
2012-06-30 16:07:09 +02:00
parent 469c7a0955
commit c8d20004a5
19 changed files with 55 additions and 49 deletions

View File

@@ -176,7 +176,7 @@ bool GameObjectModel::intersectRay(const G3D::Ray& ray, float& MaxDist, bool Sto
Ray modRay(p, iInvRot * ray.direction());
float distance = MaxDist * iInvScale;
bool hit = iModel->IntersectRay(modRay, distance, StopAtFirstHit);
if(hit)
if (hit)
{
distance *= iScale;
MaxDist = distance;