(svn r7568) -Fix [r7564]: buf+4 is the same as &buf[4], not buf[4] for a char*.

This commit is contained in:
Darkvater 2006-12-26 21:48:15 +00:00
parent 4229d9e545
commit 64a67bb63b

View File

@ -2603,7 +2603,7 @@ static void GRFError(byte *buf, int len)
} }
sevid = GB(sevid, 0, 2); 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 */ /* Action 0x0C */