summaryrefslogtreecommitdiff
path: root/src/table/pricebase.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-11-08 12:23:02 +0000
committerfrosch <frosch@openttd.org>2009-11-08 12:23:02 +0000
commit3f5e42b04a552b6c1bf06b2bbd36e8bf9c7376bb (patch)
treec5c07837a657cef27ac79e3caa35248c665a2d1d /src/table/pricebase.h
parente781929d7f7d472bd400cc0d00407c97f469f841 (diff)
downloadopenttd-3f5e42b04a552b6c1bf06b2bbd36e8bf9c7376bb.tar.xz
(svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price enum some more.
Diffstat (limited to 'src/table/pricebase.h')
-rw-r--r--src/table/pricebase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/pricebase.h b/src/table/pricebase.h
index d42d2da1f..1eeba1231 100644
--- a/src/table/pricebase.h
+++ b/src/table/pricebase.h
@@ -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