# HG changeset patch # User bjarni # Date 1100471121 0 # Node ID 810c6de8eeed38687ce7f71a8495c9b73ae04504 # Parent 423de36034b8bc06f60c948a8ac6551ebe1a4dcb (svn r613) Fix bug in GRFInhibit action loading, pointed out by Bjarni. (pasky) diff -r 423de36034b8 -r 810c6de8eeed grfspecial.c --- a/grfspecial.c Sun Nov 14 22:10:08 2004 +0000 +++ b/grfspecial.c Sun Nov 14 22:25:21 2004 +0000 @@ -1821,6 +1821,7 @@ int i; check_length(len, 1, "GRFInhibit"); + buf++, len--; num = grf_load_byte(&buf); len--; check_length(len, 4 * num, "GRFInhibit");