File diff r8082:9d654f9b59ea → r8083:8cd2123a0c7c
src/smallmap_gui.cpp
Show inline comments
 
@@ -28,6 +28,8 @@
 
#include "sound.h"
 
#include "variables.h"
 
#include "blitter/factory.hpp"
 
#include "tunnelbridge_map.h"
 

	
 

	
 
static const Widget _smallmap_widgets[] = {
 
{  WWT_CLOSEBOX,   RESIZE_NONE,    13,     0,    10,     0,    13, STR_00C5,                STR_018B_CLOSE_WINDOW},
 
@@ -340,9 +342,9 @@ static inline TileType GetEffectiveTileT
 
		TransportType tt;
 

	
 
		if (IsTunnel(tile)) {
 
			tt = GetTunnelTransportType(tile);
 
			tt = GetTunnelBridgeTransportType(tile);
 
		} else {
 
			tt = GetBridgeTransportType(tile);
 
			tt = GetTunnelBridgeTransportType(tile);
 
		}
 
		switch (tt) {
 
			case TRANSPORT_RAIL: t = MP_RAILWAY; break;