Sdk/Application: Fix compilation in server mode

Former-commit-id: f22b42bca6bd277e08739e73e93a330943d41385 [formerly ad21870d5a8a0a5ddc69be18de7d815a492e197e] [formerly 8c313395815420b252b4b902c56dd2a950049eb5 [formerly add61b18ad8c4059e410a311aeb3eeaa9572c551]]
Former-commit-id: e01dc9b1b7dd6a686d748988967e19f828027664 [formerly e7665c8d40d3f6402b3730ceca27cefb90a08c22]
Former-commit-id: 81aa4614b0704b6996165553abed7f7c40386f44
This commit is contained in:
Lynix
2016-08-29 18:16:33 +02:00
parent c94048d8c3
commit fe539d33ef
3 changed files with 8 additions and 3 deletions

View File

@@ -3,6 +3,7 @@
// For conditions of distribution and use, see copyright notice in Prerequesites.hpp
#include <NDK/Application.hpp>
#include <Nazara/Core/Log.hpp>
#include <regex>
#ifndef NDK_SERVER
@@ -63,11 +64,13 @@ namespace Ndk
NazaraWarning("Ignored command-line argument #" + Nz::String::Number(i) + " \"" + argument + '"');
}
#ifndef NDK_SERVER
if (HasOption("console"))
EnableConsole(true);
if (HasOption("fpscounter"))
EnableFPSCounter(true);
#endif
}
/*!