DDRaceNetwork -> DDraceNetwork

This commit is contained in:
def 2013-08-13 18:32:33 +02:00
parent 0d6acbda16
commit 8acea035bd
3 changed files with 4 additions and 5 deletions

View file

@ -42,7 +42,7 @@ void CGameContext::ConInfo(IConsole::IResult *pResult, void *pUserData)
{
CGameContext *pSelf = (CGameContext *) pUserData;
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"DDRaceNetwork Mod. Version: " GAME_VERSION);
"DDraceNetwork Mod. Version: " GAME_VERSION);
#if defined( GIT_SHORTREV_HASH )
pSelf->Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, "info",
"Git revision hash: " GIT_SHORTREV_HASH);

View file

@ -670,7 +670,7 @@ void CGameContext::OnClientEnter(int ClientID)
str_format(aBuf, sizeof(aBuf), "'%s' entered and joined the %s", Server()->ClientName(ClientID), m_pController->GetTeamName(m_apPlayers[ClientID]->GetTeam()));
SendChat(-1, CGameContext::CHAT_ALL, aBuf);
SendChatTarget(ClientID, "DDRaceNetwork Mod. Version: " GAME_VERSION);
SendChatTarget(ClientID, "DDraceNetwork Mod. Version: " GAME_VERSION);
SendChatTarget(ClientID, "please visit http://ddnet.tw or say /info for more info");
if(g_Config.m_SvWelcome[0]!=0)
@ -1044,7 +1044,6 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
return;
}
std::cout << GetDDRaceTeam(ClientID) << " " << GetDDRaceTeam(SpectateID) << std::endl;
if(!GetPlayerChar(ClientID) || !GetPlayerChar(SpectateID) || GetDDRaceTeam(ClientID) != GetDDRaceTeam(SpectateID))
{
SendChatTarget(ClientID, "You can only move your team member to specators");

View file

@ -3,6 +3,6 @@
#ifndef GAME_MODE_H
#define GAME_MODE_H
#define GAME_NAME "DDRaceNetwork"
#define TEST_NAME "TestDDRaceNetwork"
#define GAME_NAME "DDraceNetwork"
#define TEST_NAME "TestDDraceNetwork"
#endif