diff src/table/pricebase.h @ 13489:afa5c1a70640 draft

(svn r18008) -Codechange: Rename NUM_PRICES to PR_END, and use the Price enum some more.
author frosch <frosch@openttd.org>
date Sun, 08 Nov 2009 12:23:02 +0000
parents f2535c5098a0
children c84d609b6877
line wrap: on
line diff
--- 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