[Clantags] Temporarily disable until fixed

This commit is contained in:
momo5502 2017-06-05 00:25:17 +02:00
parent ca4ccbd55d
commit c42486ecd2
3 changed files with 8 additions and 3 deletions

View File

@ -70,7 +70,7 @@ namespace Components
Loader::Register(new Monitor());
Loader::Register(new Network());
Loader::Register(new Theatre());
Loader::Register(new Clantags());
//Loader::Register(new Clantags());
Loader::Register(new Download());
Loader::Register(new Playlist());
Loader::Register(new RawFiles());

View File

@ -35,10 +35,15 @@ namespace Components
Game::SV_GameSendServerCommand(-1, 0, command.data());
}
const char* Clantags::GetUserClantag(std::uint32_t clientnum, const char* playername)
const char* Clantags::GetUserClantag(std::uint32_t /*clientnum*/, const char* playername)
{
#if 0
if (Clantags::Tags[clientnum].empty()) return playername;
return Utils::String::VA("[%s] %s", Clantags::Tags[clientnum].data(), playername);
#else
return playername;
#endif
}
__declspec(naked) void Clantags::DrawPlayerNameOnScoreboard()

View File

@ -393,7 +393,7 @@ namespace Components
interval.update();
CardTitles::SendCustomTitlesToClients();
Clantags::SendClantagsToClients();
//Clantags::SendClantagsToClients();
}
});