From e1330a195c465309c25822d9365d3b0812fb8048 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 29 Jul 2011 21:07:07 +0000 Subject: Do not set the Archive flag on user created config variables. --- src/core/commandbuffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- cgit v1.2.3