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-22 21:53:36 +0000
committerStijn Buys <ingar@osirion.org>2008-02-22 21:53:36 +0000
commit9b041ac2e075bfb3a30397a8acdc5432860d2c84 (patch)
tree2c89930bc7fe38a6d3c80440222dd005e21e1320 /src/client/client.cc
parent71b6b902732bfc0c53033d58f91a6b1e70e8371f (diff)
save and load configuration implemented
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index 4874e55..f232c12 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -88,8 +88,8 @@ void Client::init()
core::Application::init();
// client variables
- core::Cvar::get("cl_name", "Player");
- core::Cvar::get("cl_color", "1.0 1.0 1.0");
+ core::Cvar::get("cl_name", "Player", core::Cvar::Archive);
+ core::Cvar::get("cl_color", "1.0 1.0 1.0", core::Cvar::Archive);
// initialize SDL, but do not initialize any subsystems
SDL_Init(0);