(svn r12136) -Fix(r12135): Code style compliance and... code style as such
--- a/src/bridge_gui.cpp Thu Feb 14 02:57:38 2008 +0000
+++ b/src/bridge_gui.cpp Thu Feb 14 03:10:22 2008 +0000
@@ -147,7 +147,7 @@
{
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;
--- a/src/gui.h Thu Feb 14 02:57:38 2008 +0000
+++ b/src/gui.h Thu Feb 14 03:10:22 2008 +0000
@@ -106,7 +106,7 @@
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();