Skip to content

Commit

Permalink
Speeds up DEVICE_TYPE_LOOP
Browse files Browse the repository at this point in the history
  • Loading branch information
RemieRichards committed Dec 21, 2015
1 parent 02603d4 commit 4e96442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/__DEFINES/atmospherics.dm
Expand Up @@ -129,7 +129,7 @@
#define QUATERNARY 4

// this is the standard for loop used by all sorts of atmos machinery procs
#define DEVICE_TYPE_LOOP var/I = 1; I <= device_type; I++
#define DEVICE_TYPE_LOOP var/I in 1 to device_type

// defines for the various machinery lists
// NODE_I, AIR_I, PARENT_I are used within DEVICE_TYPE_LOOP
Expand All @@ -151,4 +151,4 @@
#define PARENT1 parents[1]
#define PARENT2 parents[2]
#define PARENT3 parents[3]
#define PARENT_I parents[I]
#define PARENT_I parents[I]

0 comments on commit 4e96442

Please sign in to comment.