Changeset - r3748:58a079d47a9a
[Not reviewed]
master
0 1 0
peter1138 - 18 years ago 2006-05-04 18:07:18
peter1138@openttd.org
(svn r4736) - Newstations: use the correct value for PBS status (No PBS)
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
newgrf_station.c
Show inline comments
 
@@ -199,6 +199,7 @@ static uint32 StationGetVariable(const R
 
			case 0x49: return 0x2110000;       /* Platforms, tracks & position */
 
			case 0x42: return 0;               /* Rail type (XXX Get current type from GUI?) */
 
			case 0x43: return _current_player; /* Station owner */
 
			case 0x44: return 2;               /* PBS status */
 
			case 0xFA: return _date;           /* Build date */
 
			default:   return -1;
 
		}
 
@@ -208,7 +209,7 @@ static uint32 StationGetVariable(const R
 
		/* Calculated station variables */
 
		case 0x42: GetRailType(object->u.station.tile) << 8; /* Rail type */
 
		case 0x43: return st->owner; /* Station owner */
 
		case 0x44: return 0;         /* PBS status */
 
		case 0x44: return 2;         /* PBS status */
 
		case 0x48: { /* Accepted cargo types */
 
			CargoID cargo_type;
 
			uint32 value = 0;
0 comments (0 inline, 0 general)