c.ipadx = 0;
c.ipady = 0;
for (Enumeration<IOptionGroup> i = options.getGroups(); i
.hasMoreElements();) {
IOptionGroup group = i.nextElement();
if (group.getKey().equalsIgnoreCase(PilotOptions.LVL3_ADVANTAGES)
&& !clientgui.getClient().game.getOptions().booleanOption(
"pilot_advantages")) {
continue;
}
if (group.getKey().equalsIgnoreCase(PilotOptions.MD_ADVANTAGES)
&& !clientgui.getClient().game.getOptions().booleanOption(
"manei_domini")) {
continue;
}
addGroup(group, gridbag, c);
for (Enumeration<IOption> j = group.getOptions(); j
.hasMoreElements();) {
IOption option = j.nextElement();
if(entity instanceof GunEmplacement) {
continue;