Changeset - r11515:dcd4ffab1084
[Not reviewed]
master
0 1 0
yexo - 15 years ago 2009-03-28 16:19:04
yexo@openttd.org
(svn r15881) -Fix (r15875): add an explicit cast so some compilers stop complaining.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/ai/api/ai_bridge.cpp
Show inline comments
 
@@ -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);
 
}
 

	
0 comments (0 inline, 0 general)