# HG changeset patch # User Darkvater # Date 1145187206 0 # Node ID 21db83574bafe9f673586976126a9ebc4e04a7fc # Parent ef0a9ef56fa05ddda5a4098a0a3b699574502c95 (svn r4447) - NewGRF: It seems I committed printing action NOP Action 0x0C which is mainly used for comments. So leave it in, but fix the created warning. Use proper action name for check_length() in Action 0x10 diff -r ef0a9ef56fa0 -r 21db83574baf newgrf.c --- a/newgrf.c Sun Apr 16 11:26:23 2006 +0000 +++ b/newgrf.c Sun Apr 16 11:33:26 2006 +0000 @@ -15,6 +15,7 @@ #include "sprite.h" #include "newgrf.h" #include "variables.h" +#include "string.h" #include "bridge.h" #include "economy.h" #include "newgrf_engine.h" @@ -2319,7 +2320,7 @@ GRFLabel *label; - check_length(len, 1, "GRFLabel"); + check_length(len, 1, "DefineGotoLabel"); buf++; len--; label = malloc(sizeof(*label));