(svn r19616) -Codechange: Increase transparency of 'Extract' by passing also the number of used bits.

This commit is contained in:
frosch
2010-04-13 17:29:19 +00:00
parent 7ba4f98ce5
commit b76f0185d4
5 changed files with 12 additions and 11 deletions

View File

@@ -837,7 +837,7 @@ CommandCost CmdBuildTrainDepot(TileIndex tile, DoCommandFlag flags, uint32 p1, u
Slope tileh = GetTileSlope(tile, NULL);
DiagDirection dir = Extract<DiagDirection, 0>(p2);
DiagDirection dir = Extract<DiagDirection, 0, 2>(p2);
/* Prohibit construction if
* The tile is non-flat AND