diff options
author | belugas <belugas@openttd.org> | 2006-07-26 03:33:12 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2006-07-26 03:33:12 +0000 |
commit | 40a89649116b2f863e9240af1a94667ef2c11275 (patch) | |
tree | 49db495ba0ae909a8a9645176b5b5b72483be02f /water_cmd.c | |
parent | 4ad467cbce0947bb3f768d2b048eec683f78a84f (diff) | |
download | openttd-40a89649116b2f863e9240af1a94667ef2c11275.tar.xz |
(svn r5609) CodeChange : Apply coding style
Diffstat (limited to 'water_cmd.c')
-rw-r--r-- | water_cmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/water_cmd.c b/water_cmd.c index 1b691757f..ca23cc84f 100644 --- a/water_cmd.c +++ b/water_cmd.c @@ -479,7 +479,7 @@ void DrawShipDepotSprite(int x, int y, int image) } -static uint GetSlopeZ_Water(const TileInfo* ti) +static uint GetSlopeZ_Water(const TileInfo *ti) { return GetPartialZ(ti->x & 0xF, ti->y & 0xF, ti->tileh) + ti->z; } @@ -610,7 +610,7 @@ static void FloodVehicle(Vehicle *v) v->u.road.crashed_ctr = 2000; // max 2220, disappear pretty fast RebuildVehicleLists(); } else if (v->type == VEH_Train) { - Vehicle* u; + Vehicle *u; v = GetFirstVehicleInChain(v); u = v; @@ -747,7 +747,7 @@ const TileTypeProcs _tile_type_water_procs = { ClearTile_Water, /* clear_tile_proc */ GetAcceptedCargo_Water, /* get_accepted_cargo_proc */ GetTileDesc_Water, /* get_tile_desc_proc */ - GetTileTrackStatus_Water, /* get_tile_track_status_proc */ + GetTileTrackStatus_Water,/* get_tile_track_status_proc */ ClickTile_Water, /* click_tile_proc */ AnimateTile_Water, /* animate_tile_proc */ TileLoop_Water, /* tile_loop_clear */ |