This commit is contained in:
2022-07-24 00:23:03 +01:00
parent 5b9e9968f3
commit 5a2f529182
6 changed files with 12 additions and 37 deletions
+1 -2
View File
@@ -27,7 +27,6 @@ import Dodge.SoundLogic
import Dodge.Item.Weapon.LaserPath
--import Dodge.Item.Attachment.Data
import Dodge.Creature.Test
import Dodge.WorldEvent.HelperParticle
import Picture
import Geometry.Vector
import LensHelp
@@ -138,7 +137,7 @@ targetLaserUpdate _ cr w t
& tgActive .~ False
)
where
(mp, ps) = reflectLaserAlong 0.2 sp ep w
(mp, _) = reflectLaserAlong 0.2 sp ep w
sp = _crPos cr +.+ 15 *.* unitVectorAtAngle (_crDir cr)
ep = sp +.+ 5000 *.* normalizeV (mouseWorldPos w -.- sp)
addLaserPic = lasers .:~ LaserStart