mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Forgot get_dist uses Chebyshev's metric too.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1517 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -27,7 +27,11 @@ proc/explosion(turf/epicenter, devastation_range, heavy_impact_range, light_impa
|
||||
exTurfs += T
|
||||
|
||||
for(var/turf/T in exTurfs)
|
||||
var/distance = get_dist(epicenter, T)
|
||||
var/distance = 0
|
||||
if(roundExplosions)
|
||||
distance = get_dist_euclidian(epicenter, T)
|
||||
else
|
||||
distance = get_dist(epicenter, T)
|
||||
if(distance < 0)
|
||||
distance = 0
|
||||
if(distance < devastation_range)
|
||||
|
||||
Reference in New Issue
Block a user