diff options
author | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-07 12:11:48 +0000 |
commit | 24c4d5b06d231785db01500360c26815d8fe4d15 (patch) | |
tree | 757477dbdc02025cc29690a4e66e40f872cab02b /src/table/build_industry.h | |
parent | 36bb92ae241403d61dc7a3e5a1696b615be61395 (diff) | |
download | openttd-24c4d5b06d231785db01500360c26815d8fe4d15.tar.xz |
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
Diffstat (limited to 'src/table/build_industry.h')
-rw-r--r-- | src/table/build_industry.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h index a292a1cf4..729013973 100644 --- a/src/table/build_industry.h +++ b/src/table/build_industry.h @@ -1068,7 +1068,7 @@ static const IndustryTileTable * const _tile_table_sugar_mine[] = { /* Procedures that can be run to check whether an industry may * build at location the given to the procedure */ -typedef enum CheckProcs { +enum CheckProc { CHECK_NOTHING = 0, CHECK_FOREST = 1, CHECK_REFINERY = 2, @@ -1079,7 +1079,7 @@ typedef enum CheckProcs { CHECK_BUBBLEGEN = 7, CHECK_OIL_RIG = 8, CHECK_END, -} CheckProc; +}; #define MK(tbl, d, c1, c2, c3, proc, p1, r1, p2, r2, m, a1, a2, a3, pr, clim, in, s1, s2, s3) \ {tbl, lengthof(tbl), d, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \ |