File diff r15664:ed8829ca7a03 → r15665:8a1a5d5b328a
src/tunnelbridge_cmd.cpp
Show inline comments
 
@@ -16,7 +16,7 @@
 
#include "stdafx.h"
 
#include "rail_map.h"
 
#include "landscape.h"
 
#include "unmovable_map.h"
 
#include "unmovable.h"
 
#include "viewport_func.h"
 
#include "cmd_helper.h"
 
#include "command_func.h"
 
@@ -395,9 +395,11 @@ CommandCost CmdBuildBridge(TileIndex end
 
					if (z_start < GetBridgeHeight(tile)) goto not_valid_below;
 
					break;
 

	
 
				case MP_UNMOVABLE:
 
					if (!IsOwnedLand(tile)) goto not_valid_below;
 
				case MP_UNMOVABLE: {
 
					const UnmovableSpec *spec = UnmovableSpec::GetByTile(tile);
 
					if ((spec->flags & OBJECT_FLAG_ALLOW_UNDER_BRIDGE) == 0) goto not_valid_below;
 
					break;
 
				}
 

	
 
				case MP_CLEAR:
 
					break;