@@ -3250,9 +3250,7 @@ void Game::Tick(){
32503250
32513251 if (person[j].whichgun ==sniperrifle)aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [lefthand])].position -person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position ,0 ,person[j].playerrotation +4 ,0 );
32523252
3253- if (person[j].whichgun ==shotgun)aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [lefthand])].position -person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position ,2 +(float )(Random ()%1000 )/500 ,0 ,0 );
3254-
3255- if (person[j].whichgun ==shotgun)aim=DoRotation (aim,0 ,person[j].playerrotation -1 +(float )(Random ()%1000 )/500 ,0 );
3253+ if (person[j].whichgun ==shotgun)aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [lefthand])].position -person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position ,2 +(float )(Random ()%1000 )/500 ,person[j].playerrotation -1 +(float )(Random ()%1000 )/500 ,0 );
32563254
32573255 if (person[j].whichgun ==handgun1&&!thirdperson&&j==0 )aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position -(person[j].skeleton .joints [person[j].skeleton .jointlabels [head]].position *.65 +person[j].skeleton .joints [person[j].skeleton .jointlabels [neck]].position *.35 ),0 ,person[j].playerrotation -.9 ,0 );
32583256
@@ -4138,7 +4136,7 @@ void Game::Tick(){
41384136
41394137
41404138
4141- if (lasersight&&person[0 ].whichgun !=grenade){
4139+ if (lasersight&&visions== 0 && person[0 ].whichgun !=grenade){
41424140
41434141 for (int j=0 ;j<numpeople;j++){
41444142
@@ -4165,7 +4163,7 @@ void Game::Tick(){
41654163
41664164 if (person[j].whichgun ==sniperrifle)aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [lefthand])].position -person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position ,0 ,person[j].playerrotation +4 ,0 );
41674165
4168- if (person[j].whichgun ==shotgun)aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [lefthand])].position -person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position ,0 ,person[j].playerrotation + 4 ,0 );
4166+ if (person[j].whichgun ==shotgun)aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [lefthand])].position -person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position ,2 ,person[j].playerrotation - 1 ,0 );
41694167
41704168 if (person[j].whichgun ==handgun1&&!thirdperson&&j==0 )aim=DoRotation (person[j].skeleton .joints [(person[j].skeleton .jointlabels [righthand])].position -(person[j].skeleton .joints [person[j].skeleton .jointlabels [head]].position *.65 +person[j].skeleton .joints [person[j].skeleton .jointlabels [neck]].position *.35 ),0 ,person[j].playerrotation -.9 ,0 );
41714169
0 commit comments