summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-11-14 22:31:57 +0000
committerbjarni <bjarni@openttd.org>2004-11-14 22:31:57 +0000
commit5914888ad6d7ba7a732790089f458bb703b0c4fd (patch)
tree357e6a86137082bc5a6ed07a569ddedb195169e8
parentd99b89ab29c340e1305f3b7f15257b4e29d5b7b7 (diff)
downloadopenttd-5914888ad6d7ba7a732790089f458bb703b0c4fd.tar.xz
(svn r615) Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky)
-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);