diff --git a/grfspecial.c b/grfspecial.c index 4aae9432fb..a1b73bedcc 100644 --- a/grfspecial.c +++ b/grfspecial.c @@ -1725,6 +1725,7 @@ static void ParamSet(byte *buf, int len) uint16 data = 0; check_length(len, 5, "ParamSet"); + buf++; target = grf_load_byte(&buf); oper = grf_load_byte(&buf); src1 = grf_load_byte(&buf);