Fixed unused variable warnings
parent
b0ac2f8326
commit
3d5bc5c563
|
@ -4337,7 +4337,6 @@ void CRobotMain::ShowDropZone(CObject* metal, CObject* transporter)
|
||||||
if (obj == transporter) continue;
|
if (obj == transporter) continue;
|
||||||
|
|
||||||
Math::Vector oPos;
|
Math::Vector oPos;
|
||||||
float oRadius;
|
|
||||||
|
|
||||||
ObjectType type = obj->GetType();
|
ObjectType type = obj->GetType();
|
||||||
if (type == OBJECT_BASE)
|
if (type == OBJECT_BASE)
|
||||||
|
|
|
@ -577,8 +577,7 @@ Error CTaskBuild::FlatFloor()
|
||||||
ObjectType type;
|
ObjectType type;
|
||||||
Math::Vector center, pos, bPos;
|
Math::Vector center, pos, bPos;
|
||||||
Math::Point c, p;
|
Math::Point c, p;
|
||||||
float radius, max, oRadius, bRadius = 0.0f, angle, dist;
|
float radius, max, bRadius = 0.0f, angle, dist;
|
||||||
int j;
|
|
||||||
bool bLittleFlat, bBase;
|
bool bLittleFlat, bBase;
|
||||||
|
|
||||||
radius = 0.0f;
|
radius = 0.0f;
|
||||||
|
|
Loading…
Reference in New Issue