Changeset - r15977:c6ea898db4a7
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-08-28 21:45:44
rubidium@openttd.org
(svn r20675) -Add [FS#4077]: method to access the (action 14) NewGRF version of other NewGRFs
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/newgrf.cpp
Show inline comments
 
@@ -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);
 
			}
0 comments (0 inline, 0 general)