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-08-06 20:24:28 +0000
committerStijn Buys <ingar@osirion.org>2008-08-06 20:24:28 +0000
commit8d45578fcda02132d24af6065b8cf3b48a37c49c (patch)
tree5b139bc72fdda2fe11ede13986307f1d6548664f /src/client/console.cc
parentd240084aa7e41725a0228e123080aa7fe8a241b7 (diff)
smaller target_center selection cone, don't draw notification when draw_ui is disabled
Diffstat (limited to 'src/client/console.cc')
-rw-r--r--src/client/console.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/console.cc b/src/client/console.cc
index 9678fa7..bc99bfd 100644
--- a/src/client/console.cc
+++ b/src/client/console.cc
@@ -68,11 +68,11 @@ void Console::clear()
}
-void Console::draw() {
+void Console::draw(bool draw_ui_notifications) {
flush();
if (visible())
draw_console();
- else
+ else if (draw_ui_notifications)
draw_notify();
}