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.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/cvar.cc b/src/core/cvar.cc
index f7402ab..ce31a49 100644
--- a/src/core/cvar.cc
+++ b/src/core/cvar.cc
@@ -156,12 +156,11 @@ Cvar find(const char *name)
void list()
{
- con_print << "Registered variables:" << std::endl;
-
std::map<std::string, Cvar>::iterator it;
for (it = registry.begin(); it != registry.end(); it++) {
con_print << " "<< (*it).first << " " << (*it).second->text() << std::endl;
}
+ con_print << registry.size() << " registered variables." << std::endl;
}
} // namespace cvar