Changeset - r20010:78b5e9d61782
[Not reviewed]
master
0 1 0
rubidium - 11 years ago 2013-02-03 20:18:41
rubidium@openttd.org
(svn r24966) -Fix [FS#5228]: trams would get stuck on water
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/roadveh_cmd.cpp
Show inline comments
 
@@ -1088,7 +1088,7 @@ static bool CanBuildTramTrackOnTile(Comp
 
	/* The 'current' company is not necessarily the owner of the vehicle. */
 
	Backup<CompanyByte> cur_company(_current_company, c, FILE_LINE);
 

	
 
	CommandCost ret = DoCommand(t, ROADTYPE_TRAM << 4 | r, 0, DC_NONE, CMD_BUILD_ROAD);
 
	CommandCost ret = DoCommand(t, ROADTYPE_TRAM << 4 | r, 0, DC_NO_WATER, CMD_BUILD_ROAD);
 

	
 
	cur_company.Restore();
 
	return ret.Succeeded();
0 comments (0 inline, 0 general)