Skip to content

Commit

Permalink
not the cleanest but works
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Dec 26, 2023
1 parent cddeb3e commit e237edf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/modules/cm_marines/smartgun_mount.dm
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,9 @@
if((dir == NORTH) && (angle > 180) && (abs(360 - angle) > shoot_degree)) // If north and shooting to the left, we do some extra math
return

if((dir == NORTH) && (angle < 180) && (angle > shoot_degree))
return

else if((dir != NORTH) && (abs(angle - dir2angle(dir)) > shoot_degree))
return

Expand Down

0 comments on commit e237edf

Please sign in to comment.