diff options
author | bjarni <bjarni@openttd.org> | 2004-11-14 22:31:57 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2004-11-14 22:31:57 +0000 |
commit | 5914888ad6d7ba7a732790089f458bb703b0c4fd (patch) | |
tree | 357e6a86137082bc5a6ed07a569ddedb195169e8 | |
parent | d99b89ab29c340e1305f3b7f15257b4e29d5b7b7 (diff) | |
download | openttd-5914888ad6d7ba7a732790089f458bb703b0c4fd.tar.xz |
(svn r615) Fix the same bug in ParamSet action loading, pointer out by Bjarni too. (pasky)
-rw-r--r-- | grfspecial.c | 1 |
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); |