Makes Explosion and Singulo Defer Based on CPU

This commit is contained in:
Fox-McCloud
2016-04-30 05:17:45 -04:00
parent 12b6b22aad
commit 2d90585ecc
10 changed files with 100 additions and 88 deletions

View File

@@ -42,7 +42,7 @@
//You're the same as me? I hate you I'm going home
if(clusterCheckFlags & CLUSTER_CHECK_SAME_TURFS)
clustering = rand(clusterMin,clusterMax)
for(var/turf/F in trange(clustering,T))
for(var/turf/F in spiral_range_turfs(clustering,T))
if(istype(F,turfPath))
skipLoopIteration = TRUE
break
@@ -53,7 +53,7 @@
//You're DIFFERENT to me? I hate you I'm going home
if(clusterCheckFlags & CLUSTER_CHECK_DIFFERENT_TURFS)
clustering = rand(clusterMin,clusterMax)
for(var/turf/F in trange(clustering,T))
for(var/turf/F in spiral_range_turfs(clustering,T))
if(!(istype(F,turfPath)))
skipLoopIteration = TRUE
break