lib/traits/shooter.rb in gosu_extensions-0.1.26 vs lib/traits/shooter.rb in gosu_extensions-0.1.27

- old
+ new

@@ -95,9 +95,10 @@ return unless shoot? target sometimes :loading, self.shooting_rate do projectile = self.shot.shoot_from self projectile.rotation = self.muzzle_rotation + # projectile.velocity = self.muzzle_rotation.normalize projectile.speed = self.muzzle_velocity * projectile.velocity + self.speed end end if self.kind_of?(::Targeting) \ No newline at end of file