mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Ninja sound was commented... i don't know why
Fixed last commit
This commit is contained in:
parent
65830a463d
commit
1a5b3f5a24
|
@ -1439,7 +1439,7 @@ void CServer::ConKick(IConsole::IResult *pResult, void *pUser, int ClientId)
|
|||
{
|
||||
int ClientId1 = pResult->GetInteger(0);
|
||||
char buf[128];
|
||||
if(ClientId1 < 0 || ClientId1 >= MAX_CLIENTS || m_aClients[ClientId1].m_State == CClient::STATE_EMPTY)
|
||||
if(ClientId1 < 0 || ClientId1 >= MAX_CLIENTS || ((CServer *)pUser)->m_aClients[ClientId1].m_State == CClient::STATE_EMPTY)
|
||||
{
|
||||
str_format(buf, sizeof(buf),"Invalid Client ID %d", ClientId1);
|
||||
((CServer *)pUser)->SendRconLine(ClientId,buf);
|
||||
|
|
|
@ -459,7 +459,7 @@ void CCharacter::FireWeapon()
|
|||
m_Ninja.m_ActivationDir = Direction;
|
||||
//m_Ninja.m_CurrentMoveTime = g_pData->m_Weapons.m_Ninja.m_Movetime * Server()->TickSpeed() / 1000;
|
||||
m_Ninja.m_CurrentMoveTime = 10;
|
||||
//GameServer()->CreateSound(m_Pos, SOUND_NINJA_FIRE);
|
||||
GameServer()->CreateSound(m_Pos, SOUND_NINJA_FIRE,(!Team()?-1:Team()));
|
||||
} break;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue