src/bridge_gui.cpp
changeset 6950 14ecb0acdfb4
parent 6943 1914f26aee04
child 6990 136a08baf0ed
--- a/src/bridge_gui.cpp	Mon Jun 18 19:42:48 2007 +0000
+++ b/src/bridge_gui.cpp	Mon Jun 18 19:53:50 2007 +0000
@@ -145,7 +145,7 @@
 				const Bridge *b = &_bridge[bridge_type];
 				// bridge is accepted, add to list
 				// add to terraforming & bulldozing costs the cost of the bridge itself (not computed with DC_QUERY_COST)
-				_bridgedata.costs[j] = ret + (((int64)tot_bridgedata_len * _price.build_bridge * b->price) >> 8);
+				_bridgedata.costs[j] = ret.GetCost() + (((int64)tot_bridgedata_len * _price.build_bridge * b->price) >> 8);
 				_bridgedata.indexes[j] = bridge_type;
 				j++;
 			}