mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 03:44:00 +02:00
Added const strings for versions
This commit is contained in:
@@ -50,7 +50,6 @@ namespace Shared {
|
||||
string path;
|
||||
static string applicationPath;
|
||||
static string applicationDataPath;
|
||||
static string gameVersion;
|
||||
|
||||
static string techtreePath;
|
||||
static string scenarioPath;
|
||||
@@ -76,14 +75,6 @@ namespace Shared {
|
||||
return applicationDataPath;
|
||||
}
|
||||
|
||||
static void setGameVersion(string value) {
|
||||
Shared::PlatformCommon::replaceAll(value, "\\", "/");
|
||||
gameVersion = value;
|
||||
}
|
||||
static string getGameVersion() {
|
||||
return gameVersion;
|
||||
}
|
||||
|
||||
static void setTechtreePath(string value) {
|
||||
Shared::PlatformCommon::replaceAll(value, "\\", "/");
|
||||
techtreePath = value;
|
||||
|
Reference in New Issue
Block a user