Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-29 21:07:07 +0000
committerStijn Buys <ingar@osirion.org>2011-07-29 21:07:07 +0000
commite1330a195c465309c25822d9365d3b0812fb8048 (patch)
tree7fb8e0becd89bdde7a99d09ea27691f06a7d3217 /src/core
parenta877b28e7f4942b8feec9a4960aec66b2a2d6c6b (diff)
Do not set the Archive flag on user created config variables.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/commandbuffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commandbuffer.cc b/src/core/commandbuffer.cc
index 76d46c4..bafb3b8 100644
--- a/src/core/commandbuffer.cc
+++ b/src/core/commandbuffer.cc
@@ -182,7 +182,7 @@ void func_set(std::string const &args)
while (argstream.get(c))
value += c;
- Cvar *cvar = Cvar::set(varname.c_str(), value.c_str(), Cvar::Archive);
+ Cvar *cvar = Cvar::set(varname.c_str(), value.c_str());
if (cvar->flags() && Cvar::Info) {
localplayer()->set_dirty();
}