summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-08 23:09:40 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-08 23:09:40 +0100
commit083fd5c3d941d63428f755edde5988b474c074ef (patch)
tree868d59686038f29392858901b72bf4194100977a
parentbec2b7ecd1ab5eb48381d9331601bebd832ea289 (diff)
downloadRustAndDust-083fd5c3d941d63428f755edde5988b474c074ef.zip
RustAndDust-083fd5c3d941d63428f755edde5988b474c074ef.tar.gz
OptionsMenu: fix indentation
-rw-r--r--core/src/ch/asynk/tankontank/menu/OptionsMenu.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/core/src/ch/asynk/tankontank/menu/OptionsMenu.java b/core/src/ch/asynk/tankontank/menu/OptionsMenu.java
index 4f53530..7b559d6 100644
--- a/core/src/ch/asynk/tankontank/menu/OptionsMenu.java
+++ b/core/src/ch/asynk/tankontank/menu/OptionsMenu.java
@@ -93,13 +93,14 @@ public class OptionsMenu extends Patch
private void cycleFxVolume()
{
- int i = (int) (game.config.fxVolume * 10) + 1;
- if (i > 10) i = 0;
- float fx = fxVolumeValue.getX();
- float fy = fxVolumeValue.getY();
- fxVolumeValue.write(fxStrings[i]);
- fxVolumeValue.setPosition(fx, fy);
- game.config.fxVolume = (i / 10f);
+ int i = (int) (game.config.fxVolume * 10) + 1;
+ if (i > 10) i = 0;
+ float fx = fxVolumeValue.getX();
+ float fy = fxVolumeValue.getY();
+ fxVolumeValue.write(fxStrings[i]);
+ fxVolumeValue.setPosition(fx, fy);
+ game.config.fxVolume = (i / 10f);
+ }
}
public void setPosition()