diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-22 18:25:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-22 18:25:27 +0300 |
commit | 1e059ddb25a56995aca739987e3a4cd98cd344c4 (patch) | |
tree | a45805a4cdc71e16a54798bcdd7c127f339ff0c5 /src/client.cpp | |
parent | 08bcb3fd512f6fdd2663a29f39a0e716114b7d3f (diff) | |
download | manaplus-1e059ddb25a56995aca739987e3a4cd98cd344c4.tar.gz manaplus-1e059ddb25a56995aca739987e3a4cd98cd344c4.tar.bz2 manaplus-1e059ddb25a56995aca739987e3a4cd98cd344c4.tar.xz manaplus-1e059ddb25a56995aca739987e3a4cd98cd344c4.zip |
Dont start video mode detection if render command line parameter used.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 72aac6391..307418964 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -402,6 +402,7 @@ void Client::gameInit() #if !defined(ANDROID) && !defined(__APPLE__) && \ !defined(__native_client__) && !defined(UNITTESTS) if (!settings.options.safeMode && + settings.options.renderer < 0 && settings.options.test.empty() && !config.getBoolValue("videodetected")) { |