mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r20675) -Add [FS#4077]: method to access the (action 14) NewGRF version of other NewGRFs
This commit is contained in:
parent
be59c90e86
commit
00415213f3
@ -5685,6 +5685,8 @@ static void ParamSet(ByteReader *buf)
|
||||
src1 = 0;
|
||||
} else if (file == NULL || (c != NULL && c->status == GCS_DISABLED)) {
|
||||
src1 = 0;
|
||||
} else if (src1 == 0xFE) {
|
||||
src1 = c->version;
|
||||
} else {
|
||||
src1 = file->GetParam(src1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user