diff options
author | rubidium <rubidium@openttd.org> | 2010-05-13 10:14:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-05-13 10:14:29 +0000 |
commit | 062dd0e24c283f210216ede06bbde0ed72c7ed25 (patch) | |
tree | a917e975f1f5d4c144ecad2c799cf58764a1f592 /src/rail_cmd.cpp | |
parent | a2d6961ab3c9aa43b95dfe9fa4699d290e5627e2 (diff) | |
download | openttd-062dd0e24c283f210216ede06bbde0ed72c7ed25.tar.xz |
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
Diffstat (limited to 'src/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index abba2058f..0c1ba476b 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -2129,7 +2129,7 @@ static void DrawTrackBits(TileInfo *ti, TrackBits track) * The addtion of 2 per enum is necessary in order to "jump" over the * green state sprite, all signal sprites being in pair, * starting with the off-red state */ -enum { +enum SignalOffsets { SIGNAL_TO_SOUTHWEST = 0, SIGNAL_TO_NORTHEAST = 2, SIGNAL_TO_SOUTHEAST = 4, |