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>2009-01-25 17:57:58 +0000
committerStijn Buys <ingar@osirion.org>2009-01-25 17:57:58 +0000
commitf584439abb26f934632089b6333a4fd47c29d3ef (patch)
treeed290e24a1b7b21360da6a567ec55e5f6269a0f9 /src/client
parentde3b64a4f0f14f197f74e56cecdd11a9fbd0cc42 (diff)
bugfix
Diffstat (limited to 'src/client')
-rw-r--r--src/client/chat.cc4
-rw-r--r--src/client/video.cc2
-rw-r--r--src/client/video.h2
3 files changed, 5 insertions, 3 deletions
diff --git a/src/client/chat.cc b/src/client/chat.cc
index 1983415..93ba4b0 100644
--- a/src/client/chat.cc
+++ b/src/client/chat.cc
@@ -165,8 +165,10 @@ void Chat::event_draw()
return;
}
- if (ui::root()->active())
+ if (ui::root()->active()) {
+ hide();
return;
+ }
if (chat_small) {
chat_scrollpane->hide();
diff --git a/src/client/video.cc b/src/client/video.cc
index c861282..a8e5400 100644
--- a/src/client/video.cc
+++ b/src/client/video.cc
@@ -317,6 +317,7 @@ void draw_loader()
gl::disable(GL_BLEND);
+ is_loading = true;
}
void frame_loader()
@@ -326,7 +327,6 @@ void frame_loader()
draw_loader();
- is_loading = true;
SDL_GL_SwapBuffers();
}
diff --git a/src/client/video.h b/src/client/video.h
index 3ba3ad2..978a876 100644
--- a/src/client/video.h
+++ b/src/client/video.h
@@ -39,7 +39,7 @@ namespace video
void set_loader_message(const std::string message);
/// update the loader screen message
- void set_loader_message(const char *message);
+ void set_loader_message(const char *message = 0);
/// set the window caption
void set_caption();