mirror of https://github.com/OpenTTD/OpenTTD
(svn r15881) -Fix (r15875): add an explicit cast so some compilers stop complaining.
parent
bf354564ce
commit
50a6e589ed
|
@ -25,7 +25,7 @@
|
|||
|
||||
/* static */ BridgeID AIBridge::GetBridgeID(TileIndex tile)
|
||||
{
|
||||
if (!IsBridgeTile(tile)) return -1;
|
||||
if (!IsBridgeTile(tile)) return (BridgeID)-1;
|
||||
return (BridgeID)::GetBridgeType(tile);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue