diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-29 15:00:41 +0200 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-29 15:00:41 +0200 |
commit | 9c99cee38effd341889267c8cda6c964af561aa1 (patch) | |
tree | 11f7d0dd658978516ffe6ed5acb1cfcad15a1689 /src/main.cpp | |
parent | 0a2abc874b25d2daba54e70b3a08080e1223f6ba (diff) | |
download | mana-9c99cee38effd341889267c8cda6c964af561aa1.tar.gz mana-9c99cee38effd341889267c8cda6c964af561aa1.tar.bz2 mana-9c99cee38effd341889267c8cda6c964af561aa1.tar.xz mana-9c99cee38effd341889267c8cda6c964af561aa1.zip |
Fixed openGL being disabled from time to time.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 62b9ba33..d35fa985 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -200,6 +200,7 @@ struct Options printVersion(false), skipUpdate(false), chooseDefault(false), + noOpenGL(false), serverPort(0) {} @@ -207,6 +208,7 @@ struct Options bool printVersion; bool skipUpdate; bool chooseDefault; + bool noOpenGL; std::string username; std::string password; std::string character; @@ -217,7 +219,6 @@ struct Options std::string serverName; short serverPort; - bool noOpenGL; }; /** @@ -372,7 +373,7 @@ static void initConfiguration(const Options &options) if (configPath.empty()) configPath = homeDir + "/config.xml"; - + configFile = fopen(configPath.c_str(), "r"); // If we can't read it, it doesn't exist ! |