Made sniffer flatground button available only with EnableBuild
parent
7578f3c118
commit
7e3e1c00d2
|
@ -1492,11 +1492,14 @@ bool CBrain::CreateInterface(bool bSelect)
|
||||||
pw->CreateButton(pos, dim, 40, EVENT_OBJECT_SEARCH);
|
pw->CreateButton(pos, dim, 40, EVENT_OBJECT_SEARCH);
|
||||||
DefaultEnter(pw, EVENT_OBJECT_SEARCH);
|
DefaultEnter(pw, EVENT_OBJECT_SEARCH);
|
||||||
|
|
||||||
pos.x = ox+sx*9.0f;
|
if ( g_build&BUILD_GFLAT )
|
||||||
pos.y = oy+sy*0.5f;
|
{
|
||||||
pw->CreateButton(pos, dim, 111, EVENT_OBJECT_GFLAT);
|
pos.x = ox+sx*9.0f;
|
||||||
|
pos.y = oy+sy*0.5f;
|
||||||
|
pw->CreateButton(pos, dim, 111, EVENT_OBJECT_GFLAT);
|
||||||
|
}
|
||||||
|
|
||||||
pos.x = ox+sx*10.1f;
|
pos.x = ox+sx*10.1f;
|
||||||
pos.y = oy+sy*0.5f;
|
pos.y = oy+sy*0.5f;
|
||||||
pw->CreateButton(pos, dim, 11, EVENT_OBJECT_DELSEARCH);
|
pw->CreateButton(pos, dim, 11, EVENT_OBJECT_DELSEARCH);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue