mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r7568) -Fix [r7564]: buf+4 is the same as &buf[4], not buf[4] for a char*.
This commit is contained in:
parent
4229d9e545
commit
64a67bb63b
2
newgrf.c
2
newgrf.c
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user