From 32c57a8a492d006be7e8aa80803348338c7d32d2 Mon Sep 17 00:00:00 2001 From: nillerusr Date: Tue, 23 Aug 2022 17:53:36 +0300 Subject: [PATCH] game(hl1): fix stupid mp5 recoil --- game/server/monstermaker.cpp | 2 +- game/shared/hl1/hl1mp_weapon_mp5.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game/server/monstermaker.cpp b/game/server/monstermaker.cpp index 585e6637..3ddc1358 100644 --- a/game/server/monstermaker.cpp +++ b/game/server/monstermaker.cpp @@ -386,7 +386,7 @@ CNPCMaker::CNPCMaker( void ) m_strHintGroup = NULL_STRING; m_RelationshipString = NULL_STRING; m_ChildTargetName = NULL_STRING; - m_iszNPCClassname = NULL_STRING + m_iszNPCClassname = NULL_STRING; m_SquadName = NULL_STRING; m_spawnEquipment = NULL_STRING; } diff --git a/game/shared/hl1/hl1mp_weapon_mp5.cpp b/game/shared/hl1/hl1mp_weapon_mp5.cpp index 46b7fb93..b9fbbb7a 100644 --- a/game/shared/hl1/hl1mp_weapon_mp5.cpp +++ b/game/shared/hl1/hl1mp_weapon_mp5.cpp @@ -125,7 +125,7 @@ void CWeaponMP5::PrimaryAttack( void ) EjectShell( pPlayer, 0 ); - pPlayer->ViewPunch( QAngle( random->RandomFloat( -2, 2 ), 0, 0 ) ); + pPlayer->ViewPunch( QAngle( -1, 0, 0 ) ); #ifdef CLIENT_DLL pPlayer->DoMuzzleFlash(); #else