(svn r12136) -Fix(r12135): Code style compliance and... code style as such

This commit is contained in:
belugas 2008-02-14 03:10:22 +00:00
parent 81b3652f37
commit 539c635efd
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transpo
{
DeleteWindowById(WC_BUILD_BRIDGE, 0);
_bridgedata.type = ((transport_type << 7) | bridge_type) << 8; //prepare the parameter for use only once
_bridgedata.type = (transport_type << 15) | (bridge_type << 8); //prepare the parameter for use only once
_bridgedata.start_tile = start;
_bridgedata.end_tile = end;

View File

@ -106,7 +106,7 @@ void SetFiosType(const byte fiostype);
extern const TextColour _fios_colors[];
/* bridge_gui.cpp */
void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType Transport_type, byte type);
void ShowBuildBridgeWindow(TileIndex start, TileIndex end, TransportType transport_type, byte bridge_type);
void ShowBuildIndustryWindow();
void ShowMusicWindow();