From b76f0185d4064a4c44c6030976213dffe4493873 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 13 Apr 2010 17:29:19 +0000 Subject: (svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits. --- src/water_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/water_cmd.cpp') diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 1216fb213..4b80d0cd4 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -104,7 +104,7 @@ static void MarkCanalsAndRiversAroundDirty(TileIndex tile) */ CommandCost CmdBuildShipDepot(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 p2, const char *text) { - Axis axis = Extract(p1); + Axis axis = Extract(p1); TileIndex tile2 = tile + (axis == AXIS_X ? TileDiffXY(1, 0) : TileDiffXY(0, 1)); -- cgit v1.2.3-54-g00ecf