(svn r11761) -Codechange: Use appropriate variable types for NewGRF engine overrides, and adjust scope while there.

This commit is contained in:
peter1138
2008-01-05 15:39:22 +00:00
parent f02cf9281b
commit 0c4e3b83e4
3 changed files with 17 additions and 23 deletions

View File

@@ -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) {