summaryrefslogtreecommitdiff
path: root/src/station.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-03-08 20:50:27 +0000
committertruelight <truelight@openttd.org>2007-03-08 20:50:27 +0000
commit8877d1181515b922e559515ec0bb53d92d43b931 (patch)
tree3303d93ea0c78b4ea82fdba0810ff0ba310e5d79 /src/station.h
parent6040e559ce67599626951f5e16f3754cfa393319 (diff)
downloadopenttd-8877d1181515b922e559515ec0bb53d92d43b931.tar.xz
(svn r9070) -Fix [FS#404]: if bribe failed and you didn't pick up cargo yet, you wouldn't ever be able to do so for a given station
Diffstat (limited to 'src/station.h')
-rw-r--r--src/station.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/station.h b/src/station.h
index bced6a2be..3a4ef31cf 100644
--- a/src/station.h
+++ b/src/station.h
@@ -11,13 +11,14 @@
#include "newgrf_station.h"
static const StationID INVALID_STATION = 0xFFFF;
+static const byte INITIAL_STATION_RATING = 175;
struct GoodsEntry {
GoodsEntry() :
waiting_acceptance(0),
unload_pending(0),
days_since_pickup(0),
- rating(175),
+ rating(INITIAL_STATION_RATING),
enroute_from(INVALID_STATION),
enroute_from_xy(INVALID_TILE),
last_speed(0),