summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--grfspecial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/grfspecial.c b/grfspecial.c
index 4aae9432f..a1b73bedc 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);