Merge pull request #13806 from DaveKorhal/FixWestShots

Fixes drift on projectiles firing west
This commit is contained in:
Fox McCloud
2020-07-13 14:21:50 -04:00
committed by GitHub
+2 -2
View File
@@ -247,8 +247,8 @@
M.Turn(Angle)
transform = M
var/Pixel_x = round(sin(Angle) + 16 * sin(Angle) * 2)
var/Pixel_y = round(cos(Angle) + 16 * cos(Angle) * 2)
var/Pixel_x = round(sin(Angle) + 16 * sin(Angle) * 2, 1)
var/Pixel_y = round(cos(Angle) + 16 * cos(Angle) * 2, 1)
var/pixel_x_offset = pixel_x + Pixel_x
var/pixel_y_offset = pixel_y + Pixel_y
var/new_x = x