Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/server.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/server.cc b/src/server/server.cc
index 49af573..c4c0b88 100644
--- a/src/server/server.cc
+++ b/src/server/server.cc
@@ -17,7 +17,7 @@ namespace server {
class Server : public core::Application {
public:
/// initialize the server Application
- virtual void init();
+ virtual void init(int count, char **arguments);
/// run the server Application
virtual void run();
@@ -42,19 +42,19 @@ void main(int count, char **arguments)
std::cout << arguments[i] << " ";
std::cout << std::endl;
- app.init();
+ app.init(count, arguments);
app.run();
app.shutdown();
}
//--- private -----------------------------------------------------
-void Server::init()
+void Server::init(int count, char **arguments)
{
con_print << "Initializing server..." << std::endl;
core::Cvar::sv_private = core::Cvar::set("sv_dedicated", "1", core::Cvar::ReadOnly);
- core::Application::init();
+ core::Application::init(count, arguments);
console::init();