Changeset - r19575:6c42c5ba7209
[Not reviewed]
master
0 1 0
frosch - 12 years ago 2012-09-01 19:36:15
frosch@openttd.org
(svn r24506) -Fix: Airport variables 60 to 65 an 69 used the wrong CTT for translations. (Alberth)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_station.cpp
Show inline comments
 
@@ -408,7 +408,7 @@ uint32 Station::GetNewGRFVariable(const 
 

	
 
	/* Handle cargo variables with parameter, 0x60 to 0x65 and 0x69 */
 
	if ((variable >= 0x60 && variable <= 0x65) || variable == 0x69) {
 
		CargoID c = GetCargoTranslation(parameter, object->u.station.statspec->grf_prop.grffile);
 
		CargoID c = GetCargoTranslation(parameter, object->grffile);
 

	
 
		if (c == CT_INVALID) return 0;
 
		const GoodsEntry *ge = &this->goods[c];
0 comments (0 inline, 0 general)