Tweak sparks

This commit is contained in:
2022-03-25 15:09:04 +00:00
parent 59b49956b5
commit bd46d3f110
5 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ updateArc :: ItemParams
updateArc = createNewArc
shootLaser :: Item -> Creature -> World -> World
shootLaser it cr = particles .:~ lasRayAt phasev pos dir
shootLaser it cr = instantParticles .:~ lasRayAt phasev pos dir
where
pos = _crPos cr +.+ aimingMuzzlePos cr it *.* unitVectorAtAngle dir
dir = _crDir cr