diff options
author | peter1138 <peter1138@openttd.org> | 2005-11-11 20:34:16 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-11-11 20:34:16 +0000 |
commit | b1075ca7a43ea39cddf4ec4406f99bb5aa37a113 (patch) | |
tree | 0cfaa224bb5153de119f9d01928afb07925e0481 /waypoint.c | |
parent | 1c867927a3a8b8c26e1758bbd1f367a4f684e084 (diff) | |
download | openttd-b1075ca7a43ea39cddf4ec4406f99bb5aa37a113.tar.xz |
(svn r3166) Constify read-only accesses of custom stations
Diffstat (limited to 'waypoint.c')
-rw-r--r-- | waypoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/waypoint.c b/waypoint.c index 23e1ceaad..c93492b7c 100644 --- a/waypoint.c +++ b/waypoint.c @@ -375,9 +375,9 @@ extern uint16 _custom_sprites_base; /* Draw a waypoint */ void DrawWaypointSprite(int x, int y, int stat_id, RailType railtype) { - StationSpec *stat; + const StationSpec *stat; uint32 relocation; - DrawTileSprites *cust; + const DrawTileSprites *cust; DrawTileSeqStruct const *seq; const RailtypeInfo *rti = GetRailTypeInfo(railtype); uint32 ormod, img; |