fix shot axis

This commit is contained in:
2025-06-21 17:38:05 -07:00
parent 929f47fc78
commit eaea42f993

View File

@ -881,8 +881,8 @@ function gun_base:actually_shoot(x, y)
-- shots from guns with
-- widely varying angles)
local m = munition.new{
dx=sin(a)*v,
dy=cos(a)*v
dx=cos(a)*v,
dy=sin(a)*v
}
m:spawn_at(x+xo, y)
end