summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newgrf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf.c b/newgrf.c
index be68ff594..60a16a46b 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -2603,7 +2603,7 @@ static void GRFError(byte *buf, int len)
}
sevid = GB(sevid, 0, 2);
- grfmsg(0, msgstr[(msgid == 0xFF) ? lengthof(msgstr) - 1 : msgid], sevstr[sevid], buf[4]);
+ grfmsg(0, msgstr[(msgid == 0xFF) ? lengthof(msgstr) - 1 : msgid], sevstr[sevid], &buf[4]);
}
/* Action 0x0C */