From 11da45ee55957c243854cd78705d81543541c061 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 10 Jan 2009 00:31:47 +0000 Subject: (svn r14949) -Cleanup: pointer coding style --- src/newgrf_station.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/newgrf_station.cpp') diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 3556e2185..be0253f95 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -731,7 +731,7 @@ int AllocateSpecToStation(const StationSpec *statspec, Station *st, bool exec) * @param specindex Index of the custom station within the Station's spec list. * @return Indicates whether the StationSpec was deallocated. */ -void DeallocateSpecFromStation(Station* st, byte specindex) +void DeallocateSpecFromStation(Station *st, byte specindex) { /* specindex of 0 (default) is never freeable */ if (specindex == 0) return; @@ -844,7 +844,7 @@ bool DrawStationTile(int x, int y, RailType railtype, Axis axis, StationClassID const StationSpec *GetStationSpec(TileIndex t) { - const Station* st; + const Station *st; uint specindex; if (!IsCustomStationSpecIndex(t)) return NULL; @@ -859,7 +859,7 @@ const StationSpec *GetStationSpec(TileIndex t) * XXX This could be cached (during build) in the map array to save on all the dereferencing */ bool IsStationTileBlocked(TileIndex tile) { - const StationSpec* statspec = GetStationSpec(tile); + const StationSpec *statspec = GetStationSpec(tile); return statspec != NULL && HasBit(statspec->blocked, GetStationGfx(tile)); } @@ -868,7 +868,7 @@ bool IsStationTileBlocked(TileIndex tile) * XXX This could be cached (during build) in the map array to save on all the dereferencing */ bool IsStationTileElectrifiable(TileIndex tile) { - const StationSpec* statspec = GetStationSpec(tile); + const StationSpec *statspec = GetStationSpec(tile); return statspec == NULL || -- cgit v1.2.3-70-g09d2