From a9211ffd64291fd22d3bfd6ba796eb2ebe041b6e Mon Sep 17 00:00:00 2001 From: Dominik Geyer Date: Thu, 4 Sep 2008 18:54:37 +0000 Subject: moved nameplate-code to new component nameplates; ticket #461 --- src/game/client/gameclient.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/client/gameclient.cpp') 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); -- cgit 1.4.1