mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] Fixes reflection of hitscan beams against tiles (#3493)
* Fixes reflection of hitscan beams against tiles (#56881) Co-authored-by: Ranged <nickvanderkroon@ gmail.com> * Fixes reflection of hitscan beams against tiles Co-authored-by: NotRanged <rangedvdk@gmail.com> Co-authored-by: Ranged <nickvanderkroon@ gmail.com>
This commit is contained in:
co-authored by
Ranged
NotRanged
parent
9001e81240
commit
d757510356
@@ -90,7 +90,7 @@
|
||||
var/new_angle_s = P.Angle + rand(120,240)
|
||||
while(new_angle_s > 180) // Translate to regular projectile degrees
|
||||
new_angle_s -= 360
|
||||
P.setAngle(new_angle_s)
|
||||
P.set_angle(new_angle_s)
|
||||
|
||||
return BULLET_ACT_FORCE_PIERCE // complete projectile permutation
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
var/new_angle_s = P.Angle + rand(120,240)
|
||||
while(new_angle_s > 180) // Translate to regular projectile degrees
|
||||
new_angle_s -= 360
|
||||
P.setAngle(new_angle_s)
|
||||
P.set_angle(new_angle_s)
|
||||
|
||||
return BULLET_ACT_FORCE_PIERCE // complete projectile permutation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user