Fixed another mistake with projectile dodge code.

This commit is contained in:
cib
2012-12-19 22:03:04 +01:00
parent 84fe7c01af
commit be2466354b

View File

@@ -82,10 +82,11 @@
var/distance = get_dist(original,loc)
//Lower accurancy/longer range tradeoff. Distance matters a lot here, so at
// close distance, actually RAISE the chance to hit.
def_zone = get_zone_with_miss_chance(def_zone, src, -30 + 8*distance)
def_zone = get_zone_with_miss_chance(def_zone, M, -30 + 8*distance)
if(!def_zone)
visible_message("\The [src] misses [M] narrowly.")
del(src)
return
if(silenced)
M << "\red You've been shot in the [def_zone] by the [src.name]!"