diff options
author | tron <tron@openttd.org> | 2006-02-01 07:36:15 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-02-01 07:36:15 +0000 |
commit | 1c3e8630feb95e7202c83984620aced872a5da77 (patch) | |
tree | a7d69d6390e8880d090f15560161694c3ce6126d /rail_cmd.c | |
parent | 9712d6f639c2a32aac05c22ff17cdb3ee32a977d (diff) | |
download | openttd-1c3e8630feb95e7202c83984620aced872a5da77.tar.xz |
(svn r3511) More whitespace ([FS#46] by Rubidium)
Diffstat (limited to 'rail_cmd.c')
-rw-r--r-- | rail_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rail_cmd.c b/rail_cmd.c index 33316a772..f40551d49 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -422,7 +422,7 @@ int32 CmdRemoveSingleRail(int x, int y, uint32 flags, uint32 p1, uint32 p2) if (!IsTileType(tile, MP_TUNNELBRIDGE) && !EnsureNoVehicle(tile)) return CMD_ERROR; - switch(GetTileType(tile)) + switch (GetTileType(tile)) { case MP_TUNNELBRIDGE: if (!EnsureNoVehicleZ(tile, TilePixelHeight(tile))) @@ -592,7 +592,7 @@ static int32 CmdRailTrackHelper(int x, int y, uint32 flags, uint32 p1, uint32 p2 if (flags & DC_EXEC) SndPlayTileFx(SND_20_SPLAT_2, TileVirtXY(x, y)); - for(;;) { + for (;;) { ret = DoCommand(x, y, railtype, TrackdirToTrack(trackdir), flags, (mode == 0) ? CMD_BUILD_SINGLE_RAIL : CMD_REMOVE_SINGLE_RAIL); if (CmdFailed(ret)) { |