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 | ce9f2fe82364224d8081f5a5ac43e19152e33500 (patch) | |
tree | 0cfaa224bb5153de119f9d01928afb07925e0481 /waypoint.c | |
parent | 388c7df1d7f1ac75eadecf30ac7241da6b47fb8c (diff) | |
download | openttd-ce9f2fe82364224d8081f5a5ac43e19152e33500.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; |