summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 1199c1213..f01d5b12c 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2941,6 +2941,13 @@ void Client::checkConfigVersion()
if (config.getIntValue("npcfontSize") == 13)
config.deleteKey("npcfontSize");
}
+ if (version < 2)
+ {
+ if (config.getIntValue("screenButtonsSize") == 1)
+ config.deleteKey("screenButtonsSize");
+ if (config.getIntValue("screenJoystickSize") == 1)
+ config.deleteKey("screenJoystickSize");
+ }
- config.setValue("cfgver", 1);
+ config.setValue("cfgver", 2);
}