diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 19:48:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 19:48:26 +0300 |
commit | 196cc38da19b867eaa9419343dd6ecd8212af354 (patch) | |
tree | afb2d39f88c213702a339cae6fa08f8248b5c1af /src/client.cpp | |
parent | a80a1c69f8a5f4db88ade16e3b9d53f7b648be47 (diff) | |
download | manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.tar.gz manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.tar.bz2 manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.tar.xz manaplus-196cc38da19b867eaa9419343dd6ecd8212af354.zip |
Fix compilation errors and warnings in different modes.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 5bf560d32..66a895264 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -798,6 +798,7 @@ void Client::gameClear() int Client::testsExec() const { +#ifdef USE_OPENGL if (mOptions.test.empty()) { TestMain test; @@ -808,6 +809,9 @@ int Client::testsExec() const TestLauncher launcher(mOptions.test); return launcher.exec(); } +#else + return 0; +#endif } int Client::gameExec() |