diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-18 09:21:20 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-18 09:21:20 +0000 |
commit | 4a2bad92171ff8a9a248599f47087cfe39e93653 (patch) | |
tree | b8a4fe7f616b3e4f707d89a35fff5e8b5fdcfcc8 /src/client/console.cc | |
parent | a185c11f2397c0296a4b62cc266b4fa00a63c1e2 (diff) |
OpenAL support
Diffstat (limited to 'src/client/console.cc')
-rw-r--r-- | src/client/console.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/console.cc b/src/client/console.cc index f692db4..ac977f2 100644 --- a/src/client/console.cc +++ b/src/client/console.cc @@ -245,9 +245,9 @@ void Console::draw_notify() Text::setcolor('N'); size_t width = (size_t) ((video::width-8) / Text::fontwidth()); size_t n = notify_pos % MAXNOTIFYLINES; - float h = 4 + 2*Text::fontheight(); + float h = video::height/2; for (size_t l = 0; l < MAXNOTIFYLINES; l++) { - if (notify_text[n].size() > 2 && notify_time[n] + 4 > core::application()->time()) { + if (notify_text[n].size() > 2 && notify_time[n] + 5 > core::application()->time()) { std::string linedata(notify_text[n]); linedata += '\n'; |