(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user