summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-05-01 21:47:30 +0000
committerDarkvater <darkvater@openttd.org>2006-05-01 21:47:30 +0000
commit08e10e167f00c12f5ce825e178fa8bcef3d791e3 (patch)
tree1b75379b05af6cb43632aa225fddbd7859261727
parentc0cf93a9b070c5b11effd88d8e71e2b2017c2ae6 (diff)
downloadopenttd-08e10e167f00c12f5ce825e178fa8bcef3d791e3.tar.xz
(svn r4655) - Fix [NewGRF r4654]: /me bangs head against the wall....gaah
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index 83994b5dd..065c5462a 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;