From 69982b1f018d120bd99338f9260760984a5ce98b Mon Sep 17 00:00:00 2001 From: peter1138 Date: Wed, 11 Apr 2007 21:04:03 +0000 Subject: (svn r9601) -Codechange: Store grf file reference in station spec, not just GRF ID --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index a2dd255cb..fcfa39a41 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2539,7 +2539,7 @@ static void StationMapSpriteGroup(byte *buf, uint8 idcount, uint8 cidcount) StationSpec *statspec = _cur_grffile->stations[stid]; statspec->spritegroup[CT_DEFAULT] = _cur_grffile->spritegroups[groupid]; - statspec->grfid = _cur_grffile->grfid; + statspec->grffile = _cur_grffile; statspec->localidx = stid; SetCustomStationSpec(statspec); } -- cgit v1.2.3-54-g00ecf