]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.h
autocvars: update to current value after loading a savegame, to always fulfill the...
[xonotic/darkplaces.git] / cvar.h
diff --git a/cvar.h b/cvar.h
index 1c04d86e624394b50e8b1482439f6d838988ff61..3c94aae266b91b13e25b481e0162931256aee192 100644 (file)
--- a/cvar.h
+++ b/cvar.h
@@ -216,6 +216,8 @@ cvar_t *Cvar_Get (const char *name, const char *value, int flags, const char *ne
 extern char *cvar_dummy_description; // ALWAYS the same pointer
 extern cvar_t *cvar_vars; // used to list all cvars
 
+void Cvar_UpdateAllAutoCvars(void); // updates ALL autocvars of the active prog to the cvar values (savegame loading)
+
 #ifdef FILLALLCVARSWITHRUBBISH
 void Cvar_FillAll_f();
 #endif /* FILLALLCVARSWITHRUBBISH */