(svn r204) -Fix: deleted unneeded casts (tnx Tron)

This commit is contained in:
truelight
2004-09-11 13:37:44 +00:00
parent 0b5cc6f149
commit da87ab9c79
2 changed files with 2 additions and 2 deletions

View File

@@ -383,7 +383,7 @@ not_valid_below:;
if (_current_player < MAX_PLAYERS && !(_is_ai_player && !_patches.ainew_active))
bridge_len = CalcBridgeLenCostFactor(bridge_len);
cost += (((int64)bridge_len * (int64)_price.build_bridge) * (int64)_bridge_type_price_mod[bridge_type]) >> 8;
cost += ((int64)bridge_len * _price.build_bridge * _bridge_type_price_mod[bridge_type]) >> 8;
}
return cost;