Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-10-10 16:41:38 +0000
committerStijn Buys <ingar@osirion.org>2008-10-10 16:41:38 +0000
commit02fcd22d8cde355aa898a8c6bb4773d9434b8e9a (patch)
tree9397f1f5b61a0978acadc4c15fd330ee7138c59b /src/client/console.cc
parent4331f5c17901f46693dcb5c2df96276f6851be25 (diff)
adds KeyPress, DevInfo and Stats widgets
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index e3c4288..96da900 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -32,14 +32,12 @@ Console *console() {
void Console::init()
{
con_print << "^BInitializing console..." << std::endl;
-
console()->load_history();
}
void Console::shutdown()
{
con_print << "^BShutting down console..." << std::endl;
-
console()->save_history();
}
@@ -192,7 +190,6 @@ void Console::keypressed(unsigned int key)
void Console::save_history()
{
-
if (history.size() <= 1)
return;
@@ -539,3 +536,4 @@ void Console::notify(std::string const & message)
}
} // namespace client
+