Skip to content

Commit ca77573

Browse files
Maybe appease OD?
1 parent 9343403 commit ca77573

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

_std/macros/directional_offsets.dm

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,29 @@
1919
#define SET_UP_DIRECTIONAL_OFFSETS(_NAME, _N, _E, _S, _W) \
2020
STANDARD_OFFSETS(_NAME) { \
2121
id = #_NAME; \
22-
nx = _GETTER_1 _N; \
23-
ny = _GETTER_2 _N; \
24-
ex = _GETTER_1 _E; \
25-
ey = _GETTER_2 _E; \
26-
sx = _GETTER_1 _S; \
27-
sy = _GETTER_2 _S; \
28-
wx = _GETTER_1 _W; \
29-
wy = _GETTER_2 _W; \
22+
nx = _GETTER_1##_N; \
23+
ny = _GETTER_2##_N; \
24+
ex = _GETTER_1##_E; \
25+
ey = _GETTER_2##_E; \
26+
sx = _GETTER_1##_S; \
27+
sy = _GETTER_2##_S; \
28+
wx = _GETTER_1##_W; \
29+
wy = _GETTER_2##_W; \
3030
} \
3131
DEFINE _NAME(x) x(_GETTER_1 _N, _GETTER_2 _N, _GETTER_1 _E, _GETTER_2 _E, _GETTER_1 _S, _GETTER_2 _S, _GETTER_1 _W, _GETTER_2 _W, #_NAME)
3232

3333
/// Set up another directional offsets datum that should be used under certain circumstances.
3434
#define SET_UP_DIRECTIONAL_OFFSETS_OTHER(_PATH, _NAME, _N, _E, _S, _W) \
3535
_PATH(_NAME) { \
3636
id = #_NAME; \
37-
nx = _GETTER_1 _N; \
38-
ny = _GETTER_2 _N; \
39-
ex = _GETTER_1 _E; \
40-
ey = _GETTER_2 _E; \
41-
sx = _GETTER_1 _S; \
42-
sy = _GETTER_2 _S; \
43-
wx = _GETTER_1 _W; \
44-
wy = _GETTER_2 _W; \
37+
nx = _GETTER_1##_N; \
38+
ny = _GETTER_2##_N; \
39+
ex = _GETTER_1##_E; \
40+
ey = _GETTER_2##_E; \
41+
sx = _GETTER_1##_S; \
42+
sy = _GETTER_2##_S; \
43+
wx = _GETTER_1##_W; \
44+
wy = _GETTER_2##_W; \
4545
}
4646

4747
/// Set up directional paths for an object, with offsets provided by an offsets tuple.

0 commit comments

Comments
 (0)