about summary refs log tree commit diff
path: root/src/game/client/components/scoreboard.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-30 08:26:36 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-08-30 08:26:36 +0000
commit2e2d31ccc359228f0031b9fa507b33f8ba935722 (patch)
tree90f7270a696e7f47238c2945f91381af485c5ac4 /src/game/client/components/scoreboard.cpp
parent71fa35606c268594f8cf4c52626057f86861c3de (diff)
downloadzcatch-2e2d31ccc359228f0031b9fa507b33f8ba935722.tar.gz
zcatch-2e2d31ccc359228f0031b9fa507b33f8ba935722.zip
fixed the motd correctly
Diffstat (limited to 'src/game/client/components/scoreboard.cpp')
-rw-r--r--src/game/client/components/scoreboard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp
index 8891b12d..bd8c7ea9 100644
--- a/src/game/client/components/scoreboard.cpp
+++ b/src/game/client/components/scoreboard.cpp
@@ -5,6 +5,7 @@
 #include <game/client/gameclient.hpp>
 #include <game/client/animstate.hpp>
 #include <game/client/gc_render.hpp>
+#include <game/client/components/motd.hpp>
 #include "scoreboard.hpp"
 
 
@@ -226,6 +227,9 @@ void SCOREBOARD::on_render()
 {
 	if(!active)
 		return;
+		
+	// if the score board is active, then we should clear the motd message aswell
+	gameclient.motd->clear();
 	
 	// TODO: repair me
 	/*