(svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price enum some more.

This commit is contained in:
frosch
2009-11-08 12:23:02 +00:00
parent 17039eaf42
commit d6e65fc173
6 changed files with 23 additions and 20 deletions

View File

@@ -9,7 +9,7 @@
/** @file pricebase.h Price Bases */
static const PriceBaseSpec _price_base_specs[NUM_PRICES] = {
static const PriceBaseSpec _price_base_specs[PR_END] = {
{ 100, PCAT_NONE }, ///< PR_STATION_VALUE
{ 100, PCAT_CONSTRUCTION}, ///< PR_BUILD_RAIL
{ 95, PCAT_CONSTRUCTION}, ///< PR_BUILD_ROAD