From 5d837282ee209c37ed5c5a29ff509e9283a56b42 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 5 Jan 2008 15:39:22 +0000 Subject: (svn r11761) -Codechange: Use appropriate variable types for NewGRF engine overrides, and adjust scope while there. --- src/newgrf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 1032a9747..fa531f5ed 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -2772,8 +2772,8 @@ static CargoID TranslateCargo(uint8 feature, uint8 ctype) static void VehicleMapSpriteGroup(byte *buf, byte feature, uint8 idcount, uint8 cidcount, bool wagover) { - static byte *last_engines; - static int last_engines_count; + static EngineID *last_engines; + static uint last_engines_count; if (!wagover) { if (last_engines_count != idcount) { -- cgit v1.2.3-54-g00ecf