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

This commit is contained in:
2008-01-05 15:39:22 +00:00
parent 7302d8c88b
commit 5d837282ee
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) {