mirror of
https://github.com/SWG-Source/src.git
synced 2026-09-28 15:12:53 -04:00
fix a few more warnings
This commit is contained in:
@@ -140,7 +140,6 @@ bool HoverPlaneHelper::findMinimumHoverPlane (const Object & obj, float & roll,
|
||||
if (!terrainObject)
|
||||
return false;
|
||||
|
||||
float oldPointHeights [10];
|
||||
Vector normals [10];
|
||||
Vector avgNormal;
|
||||
|
||||
@@ -159,8 +158,6 @@ bool HoverPlaneHelper::findMinimumHoverPlane (const Object & obj, float & roll,
|
||||
float y = 0.0f;
|
||||
for (int i = 0; i < 10; ++i)
|
||||
{
|
||||
oldPointHeights [i] = points [i].y;
|
||||
|
||||
if (terrainObject->getHeight (points [i], y, normals [i]))
|
||||
{
|
||||
float waterHeight = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user