Fixed Quest mode new/old UI checkbox bug.

This commit is contained in:
Doublestrike
2011-12-01 04:18:52 +00:00
parent 4e637bc5e6
commit 3e537e85cb

View File

@@ -576,6 +576,13 @@ public class OldGuiNewGame extends JFrame {
OldGuiNewGame.oldGuiCheckBox.setText(ForgeProps
.getLocalized(NewConstants.Lang.OldGuiNewGame.NewGameText.OLD_GUI));
OldGuiNewGame.oldGuiCheckBox.addActionListener(new java.awt.event.ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
Constant.Runtime.OLDGUI[0] = OldGuiNewGame.oldGuiCheckBox.isSelected();
}
});
OldGuiNewGame.getSmoothLandCheckBox().setText(
ForgeProps.getLocalized(NewConstants.Lang.OldGuiNewGame.NewGameText.AI_LAND));
@@ -884,8 +891,6 @@ public class OldGuiNewGame extends JFrame {
}
} // else
Constant.Runtime.OLDGUI[0] = OldGuiNewGame.oldGuiCheckBox.isSelected();
if (Constant.Runtime.OLDGUI[0]) {
AllZone.setDisplay(new GuiDisplay());
} else {