summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 2 insertions, 2 deletions
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) {