mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 21:48:21 +01:00
Ports hitscan from TG, adds it to *SELECT* things (#22754)
* this was just going to be a plasma cutter change but no had to make it look good, whats next, ai sat turrets (yes) * ai turret * Coca cola, don't forget the ice. Or the pulse * almost done, pull master than map edit * we ball * ah, chasms. * it's for the best. Fuck should not sleep checker though * hitscan reflection limiting system * Apply suggestions from code review Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * c-c-c-changes --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
This commit is contained in:
co-authored by
Henri215
S34N
parent
49c9d6f65a
commit
357c62b6d7
@@ -96,7 +96,7 @@
|
||||
//Checks for obstacles from A to B
|
||||
var/obj/dummy = new(source.loc)
|
||||
dummy.pass_flags |= PASSTABLE
|
||||
for(var/turf/turf as anything in getline(source, target))
|
||||
for(var/turf/turf as anything in get_line(source, target))
|
||||
for(var/atom/movable/AM in turf)
|
||||
if(!AM.CanPass(dummy, turf, 1))
|
||||
qdel(dummy)
|
||||
|
||||
Reference in New Issue
Block a user