(svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID

This commit is contained in:
peter1138
2007-04-11 21:04:03 +00:00
parent f7a92a2f16
commit 3148fdca59
5 changed files with 9 additions and 7 deletions

View File

@@ -28,7 +28,7 @@ DECLARE_POSTFIX_INCREMENT(StationClassID);
typedef byte *StationLayout;
struct StationSpec {
uint32 grfid; ///< ID of GRF file station belongs to.
const struct GRFFile *grffile; ///< ID of GRF file station belongs to.
int localidx; ///< Index within GRF file of station.
bool allocated; ///< Flag whether this station has been added to a station class list