(svn r4655) - Fix [NewGRF r4654]: /me bangs head against the wall....gaah

This commit is contained in:
Darkvater 2006-05-01 21:47:30 +00:00
parent 40dd3b2061
commit bc850f5c09

View File

@ -2119,7 +2119,7 @@ static void GRFInfo(byte *buf, int len)
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;