From b3747deb60808b712a5eb07d3b7c284fb0a5fe00 Mon Sep 17 00:00:00 2001 From: GreYFoXGTi Date: Thu, 30 Sep 2010 22:31:26 +0300 Subject: [PATCH] fixed ninja thanks to btd --- src/game/server/entities/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index b83cf0572..02baca00f 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -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,(!Team()?-1:Team())); + GameServer()->CreateSound(m_Pos, SOUND_NINJA_FIRE,Teams()->TeamMask(Team())); } break; }