Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index 19d6f3e..4874e55 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -87,6 +87,10 @@ void Client::init()
core::Cvar::sv_dedicated = core::Cvar::set("sv_private", "0");
core::Application::init();
+ // client variables
+ core::Cvar::get("cl_name", "Player");
+ core::Cvar::get("cl_color", "1.0 1.0 1.0");
+
// initialize SDL, but do not initialize any subsystems
SDL_Init(0);