diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index bbeb0562f..334a7bc1d 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -165,7 +165,7 @@ void CCharacter::HandleJetpack() Strength = GameServer()->Tuning()->m_JetpackStrength; else Strength = GameServer()->TuningList()[m_TuneZone].m_JetpackStrength; - TakeDamage(Direction * -1.0f * (Strength / 100.0f / 6.11f), g_pData->m_Weapons.m_Hammer.m_pBase->m_Damage, m_pPlayer->GetCID(), m_Core.m_ActiveWeapon); + TakeDamage(Direction * -1.0f * (Strength / 100.0f / 6.11f), 0, m_pPlayer->GetCID(), m_Core.m_ActiveWeapon); } } } @@ -990,7 +990,7 @@ bool CCharacter::TakeDamage(vec2 Force, int Dmg, int From, int Weapon) else GameServer()->CreateSound(m_Pos, SOUND_PLAYER_PAIN_SHORT);*/ - if (!m_Jetpack || m_Core.m_ActiveWeapon != WEAPON_GUN) + if (Dmg) { m_EmoteType = EMOTE_PAIN; m_EmoteStop = Server()->Tick() + 500 * Server()->TickSpeed() / 1000;