Fixed unused variable warnings

master
krzys-h 2015-07-10 10:11:31 +02:00
parent b0ac2f8326
commit 3d5bc5c563
2 changed files with 1 additions and 3 deletions

View File

@ -4337,7 +4337,6 @@ void CRobotMain::ShowDropZone(CObject* metal, CObject* transporter)
if (obj == transporter) continue;
Math::Vector oPos;
float oRadius;
ObjectType type = obj->GetType();
if (type == OBJECT_BASE)

View File

@ -577,8 +577,7 @@ Error CTaskBuild::FlatFloor()
ObjectType type;
Math::Vector center, pos, bPos;
Math::Point c, p;
float radius, max, oRadius, bRadius = 0.0f, angle, dist;
int j;
float radius, max, bRadius = 0.0f, angle, dist;
bool bLittleFlat, bBase;
radius = 0.0f;