File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ void Game::Tick(){
851851
852852
853853
854- if (oldzoom|| zoom||person[0 ].aimamount <=0 ||person[0 ].whichgun ==nogun||visions||person[0 ].whichgun ==grenade||person[0 ].whichgun ==knife){
854+ if (zoom||person[0 ].aimamount <=0 ||person[0 ].whichgun ==nogun||visions||person[0 ].whichgun ==grenade||person[0 ].whichgun ==knife){
855855
856856 camera.visrotation =camera.rotation ;
857857
@@ -1699,26 +1699,21 @@ void Game::Tick(){
16991699
17001700 mousesensitivity=.05 *usermousesensitivity;
17011701
1702- if (person[i].targetanimation !=crouchanim||person[i].currentanimation !=crouchanim||person[i].aiming <1 ||visions== 1 ){
1702+ if (person[i].targetanimation !=crouchanim||person[i].currentanimation !=crouchanim||person[i].aiming <1 ){
17031703
17041704 zoom=0 ;
1705- camera.rotation2 +=14 ;
1706- camera.rotation +=9 ;
17071705
17081706 }
17091707
1708+ if (visions==1 )zoom=0 ;
1709+
17101710 }
17111711
17121712 if (person[i].currentanimation ==crouchanim&&person[i].targetanimation ==crouchanim&&person[i].aiming >=1 &&person[i].whichgun ==sniperrifle){
17131713
17141714 zoom=1 ;
17151715
1716- if (!oldzoom){
1717-
1718- camera.rotation2 -=14 ;
1719- camera.rotation -=9 ;
1720-
1721- }
1716+ if (zoom&&!oldzoom)camera.rotation2 -=6 ;
17221717
17231718 }
17241719
You can’t perform that action at this time.
0 commit comments