From ce9f2fe82364224d8081f5a5ac43e19152e33500 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Fri, 11 Nov 2005 20:34:16 +0000 Subject: (svn r3166) Constify read-only accesses of custom stations --- waypoint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'waypoint.c') 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; -- cgit v1.2.3-54-g00ecf