change 'guiScale' from 0 to 4
This commit is contained in:
parent
ef3d36d9ea
commit
e9c8e8a306
|
@ -4,7 +4,7 @@ fov:0.0
|
|||
gamma:0.5070422
|
||||
saturation:0.0
|
||||
renderDistance:2
|
||||
guiScale:0
|
||||
guiScale:4
|
||||
particles:1
|
||||
bobView:false
|
||||
anaglyph3d:false
|
||||
|
|
|
@ -143,9 +143,9 @@ public class GameOption {
|
|||
String str = get("guiScale");
|
||||
int guiScale;
|
||||
try {
|
||||
guiScale = (str == null ? 0 : Integer.parseInt(str));
|
||||
guiScale = (str == null ? 4 : Integer.parseInt(str));
|
||||
} catch (NumberFormatException ignore) {
|
||||
guiScale = 0;
|
||||
guiScale = 4;
|
||||
}
|
||||
int scale = Math.max(Math.min(width / 320, height / 240), 1);
|
||||
if (scale < guiScale || guiScale == 0) {
|
||||
|
|
Loading…
Reference in New Issue