fixes ricochets not resetting range

This commit is contained in:
kevinz000
2017-11-26 18:59:45 -08:00
committed by CitadelStationBot
parent e0aaed6d3b
commit 9c93d8ef4c
+1
View File
@@ -177,6 +177,7 @@
ricochets++
if(A.handle_ricochet(src))
ignore_source_check = TRUE
range = initial(range)
return FALSE
if(firer && !ignore_source_check)
if(A == firer || (A == firer.loc && ismecha(A))) //cannot shoot yourself or your mech