branch | gamebalance |
changeset 9903 | dc85aaa556ae |
parent 9902 | ed8f92929297 |
child 9911 | 0b8b245a2391 |
--- a/src/town.cpp Fri Mar 23 12:03:41 2007 +0000 +++ b/src/town.cpp Sat Mar 31 12:34:36 2007 +0000 @@ -15,7 +15,7 @@ const Town *t = GetRadiusGroupForTile(tile, rad); FixedT<int64, 16> price = t->GetActivity(); DEBUG(eco, 6, "Getting price for tile 0x%x at %f (authority at 0x%x)", tile, (double)price, t->xy); - price *= _price.purchase_land * rad * rad * 10; + price *= _eco->GetPrice(CEconomy::PURCHASE_LAND) * rad * rad * 10; return price; }