mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
DDRaceNetwork -> DDraceNetwork
This commit is contained in:
parent
0d6acbda16
commit
8acea035bd
|
@ -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);
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue