mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 18:14:22 +01:00
Fixes for projectiles bugs (#42463)
* Bandaid fixes for bugs with reflectors projectiles and plasma cutters * * Fixed bouncing piercing projectiles on qdel * Fixed projectiles reflection not working * Fixed heavy beam pulses not penetrating * Changed numerous projectiles procs to use the new BULLET_ACT_* format * Final conversions to new BULLET_ACT_* format
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
var/ploc = get_turf(P)
|
||||
if(!finished || !allowed_projectile_typecache[P.type] || !(P.dir in GLOB.cardinals))
|
||||
return ..()
|
||||
if(auto_reflect(P, pdir, ploc, pangle) != -1)
|
||||
if(auto_reflect(P, pdir, ploc, pangle) != BULLET_ACT_FORCE_PIERCE)
|
||||
return ..()
|
||||
return BULLET_ACT_FORCE_PIERCE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user