Fixes errors introduced by merge

Fixes errors introduced by commit
fac32d07e9.

Grabbed the version of projectile.dm from the parent commit and changed
the paths by hand (again).
This commit is contained in:
mwerezak
2015-02-09 17:53:47 -05:00
parent 31120123b8
commit d8a8384c41

View File

@@ -230,16 +230,21 @@
/obj/item/projectile/process() /obj/item/projectile/process()
if(kill_count < 1) if(kill_count < 1)
del(src) del(src)
return kill_count--
step_towards(src, current) spawn while(src)
sleep(1) if((!( current ) || loc == current))
if(!bumped && !isturf(original)) current = locate(min(max(x + xo, 1), world.maxx), min(max(y + yo, 1), world.maxy), z)
if(loc == get_turf(original)) if((x == 1 || x == world.maxx || y == 1 || y == world.maxy))
if(!(original in permutated)) del(src)
Bump(original) return
sleep(1) step_towards(src, current)
sleep(1)
if(!bumped && !isturf(original))
if(loc == get_turf(original))
if(!(original in permutated))
Bump(original)
sleep(1)
//"Tracing" projectile
/obj/item/projectile/test //Used to see if you can hit them. /obj/item/projectile/test //Used to see if you can hit them.
invisibility = 101 //Nope! Can't see me! invisibility = 101 //Nope! Can't see me!
yo = null yo = null