summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
committerrubidium <rubidium@openttd.org>2010-05-13 09:44:44 +0000
commit398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb (patch)
tree54de30f4702263ee1489af162d6da840e35c0a87 /src/station_map.h
parent793b0f0736ac543fb1f6a7e9a4bfd678891e7374 (diff)
downloadopenttd-398418b8fa23ab59f5fc027a7dd6aeba9da4d7bb.tar.xz
(svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int
Diffstat (limited to 'src/station_map.h')
-rw-r--r--src/station_map.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/station_map.h b/src/station_map.h
index 060457d15..ef4e243e1 100644
--- a/src/station_map.h
+++ b/src/station_map.h
@@ -33,10 +33,8 @@ static inline StationID GetStationIndex(TileIndex t)
}
-enum {
- GFX_DOCK_BASE_WATER_PART = 4,
- GFX_TRUCK_BUS_DRIVETHROUGH_OFFSET = 4,
-};
+static const int GFX_DOCK_BASE_WATER_PART = 4;
+static const int GFX_TRUCK_BUS_DRIVETHROUGH_OFFSET = 4;
/**
* Get the station type of this tile