From f7fdcc00e584fe97c486b2072c0f26290a809583 Mon Sep 17 00:00:00 2001 From: frosch Date: Mon, 12 Nov 2012 18:10:42 +0000 Subject: (svn r24706) -Fix (r10981): [NewGRF] Station var 48 should report acceptance, not supply. --- src/newgrf_station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 4b5c5468a..5751ad31d 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -394,7 +394,7 @@ uint32 Station::GetNewGRFVariable(const ResolverObject *object, byte variable, b uint32 value = 0; for (cargo_type = 0; cargo_type < NUM_CARGO; cargo_type++) { - if (HasBit(this->goods[cargo_type].acceptance_pickup, GoodsEntry::GES_PICKUP)) SetBit(value, cargo_type); + if (HasBit(this->goods[cargo_type].acceptance_pickup, GoodsEntry::GES_ACCEPTANCE)) SetBit(value, cargo_type); } return value; } -- cgit v1.2.3-70-g09d2