Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-21 21:01:17 +0000
committerStijn Buys <ingar@osirion.org>2008-02-21 21:01:17 +0000
commit71b6b902732bfc0c53033d58f91a6b1e70e8371f (patch)
tree0ff75879667ff985c9d69f8057727f6c805ad8b4 /src/client/client.cc
parent8aa04fc836116a58f8ffd1e0c3539b9ea8a94ddf (diff)
more minor updates
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);