changeset 3712 | b0e03bf96808 |
parent 3711 | 4a0d1c635b56 |
child 3714 | 402f02b01241 |
--- a/newgrf.c Mon May 01 21:45:35 2006 +0000 +++ b/newgrf.c Mon May 01 21:47:30 2006 +0000 @@ -2119,7 +2119,7 @@ const char *info; check_length(len, 8, "GRFInfo"); buf++; - version = grf_load_byte(buf); + version = grf_load_byte(&buf); grfid = grf_load_dword(&buf); name = (const char*)buf; info = name + strlen(name) + 1;