(svn r615) Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky)
authorbjarni
Sun, 14 Nov 2004 22:31:57 +0000
changeset 418 67457dd7e5bc
parent 417 0c63a94557a5
child 419 2fbd23a1cedc
(svn r615) Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky)
grfspecial.c
--- a/grfspecial.c	Sun Nov 14 22:30:46 2004 +0000
+++ b/grfspecial.c	Sun Nov 14 22:31:57 2004 +0000
@@ -1725,6 +1725,7 @@
 	uint16 data = 0;
 
 	check_length(len, 5, "ParamSet");
+	buf++;
 	target = grf_load_byte(&buf);
 	oper = grf_load_byte(&buf);
 	src1 = grf_load_byte(&buf);