mirror of https://github.com/OpenTTD/OpenTTD
(svn r615) Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky)
parent
d99b89ab29
commit
5914888ad6
|
@ -1725,6 +1725,7 @@ static void ParamSet(byte *buf, int len)
|
||||||
uint16 data = 0;
|
uint16 data = 0;
|
||||||
|
|
||||||
check_length(len, 5, "ParamSet");
|
check_length(len, 5, "ParamSet");
|
||||||
|
buf++;
|
||||||
target = grf_load_byte(&buf);
|
target = grf_load_byte(&buf);
|
||||||
oper = grf_load_byte(&buf);
|
oper = grf_load_byte(&buf);
|
||||||
src1 = grf_load_byte(&buf);
|
src1 = grf_load_byte(&buf);
|
||||||
|
|
Loading…
Reference in New Issue