Merge pull request #12808 from FreeStylaLT/reflecting_on_reflections

Fixes reflectors and a Projectile angle bug
This commit is contained in:
Crazy Lemon
2019-12-16 18:36:49 -08:00
committed by GitHub
3 changed files with 7 additions and 3 deletions
+1 -2
View File
@@ -240,8 +240,7 @@
if(!paused)
if((!( current ) || loc == current))
current = locate(Clamp(x+xo,1,world.maxx),Clamp(y+yo,1,world.maxy),z)
if(!Angle)
if(isnull(Angle))
Angle=round(Get_Angle(src,current))
if(spread)
Angle += (rand() - 0.5) * spread