Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cvar.cc')
-rw-r--r--src/core/cvar.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/cvar.cc b/src/core/cvar.cc
index 9ce1fe6..363ebb4 100644
--- a/src/core/cvar.cc
+++ b/src/core/cvar.cc
@@ -60,6 +60,7 @@ Cvar* Cvar::get(const char *name, const char *value, unsigned int flags)
Cvar *c = find(name);
if (c) {
//con_debug << "get " << name << " already exist with value " << cvar->str() << std::endl;
+ c->cvar_flags |= flags;
} else {
//con_debug << "get " << name << " " << value << std::endl;
c = new Cvar(name, flags);