From bc850f5c09ba9e3e2b31c04bc733d5686b7126af Mon Sep 17 00:00:00 2001 From: Darkvater Date: Mon, 1 May 2006 21:47:30 +0000 Subject: [PATCH] (svn r4655) - Fix [NewGRF r4654]: /me bangs head against the wall....gaah --- newgrf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newgrf.c b/newgrf.c index 83994b5dda..065c5462a6 100644 --- a/newgrf.c +++ b/newgrf.c @@ -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;