about summary refs log tree commit diff
path: root/src/game/client/gameclient.cpp
diff options
context:
space:
mode:
authorDominik Geyer <dominik.geyer@gmx.de>2008-09-04 18:54:37 +0000
committerDominik Geyer <dominik.geyer@gmx.de>2008-09-04 18:54:37 +0000
commita9211ffd64291fd22d3bfd6ba796eb2ebe041b6e (patch)
tree909b6a679f41603081ad016b2db895ba7b489352 /src/game/client/gameclient.cpp
parent4c2632b7b6ae03e9d54d4a2d72742b6865700143 (diff)
downloadzcatch-a9211ffd64291fd22d3bfd6ba796eb2ebe041b6e.tar.gz
zcatch-a9211ffd64291fd22d3bfd6ba796eb2ebe041b6e.zip
moved nameplate-code to new component nameplates; ticket #461
Diffstat (limited to 'src/game/client/gameclient.cpp')
-rw-r--r--src/game/client/gameclient.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp
index 5efc9413..44d297b5 100644
--- a/src/game/client/gameclient.cpp
+++ b/src/game/client/gameclient.cpp
@@ -28,6 +28,7 @@
 #include "components/motd.hpp"
 #include "components/particles.hpp"
 #include "components/players.hpp"
+#include "components/nameplates.hpp"
 #include "components/scoreboard.hpp"
 #include "components/skins.hpp"
 #include "components/sounds.hpp"
@@ -56,6 +57,7 @@ static EMOTICON emoticon;
 static DAMAGEIND damageind;
 
 static PLAYERS players;
+static NAMEPLATES nameplates;
 static ITEMS items;
 static MAPIMAGES mapimages;
 
@@ -121,6 +123,7 @@ void GAMECLIENT::on_init()
 	all.add(&items);
 	all.add(&players);
 	all.add(&maplayers_foreground);
+	all.add(&nameplates);
 	all.add(&particles->render_general);
 	all.add(damageind);
 	all.add(&hud);