summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ed6e9427..b1ef5661 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -150,7 +150,7 @@ void init_engine()
}
// Checking if /home/user/.tmw folder exists.
-
+
homeDir = pass->pw_dir;
homeDir += "/.tmw";
//sprintf(homeDir, "%s/.tmw", pass->pw_dir);
@@ -219,7 +219,7 @@ void init_engine()
SDL_WM_SetCaption("The Mana World", NULL);
#ifdef USE_OPENGL
- useOpenGL = true;
+ useOpenGL = (config.getValue("opengl", 0) == 1);
#else
useOpenGL = false;
#endif