diff options
author | peter1138 <peter1138@openttd.org> | 2008-01-05 15:39:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-01-05 15:39:22 +0000 |
commit | 5d837282ee209c37ed5c5a29ff509e9283a56b42 (patch) | |
tree | 658c76c4837adf5c3277e65025e9fc14fa20eb73 /src/newgrf.cpp | |
parent | 7302d8c88b25e08a414ebf4e8e83abffc1c3961a (diff) | |
download | openttd-5d837282ee209c37ed5c5a29ff509e9283a56b42.tar.xz |
(svn r11761) -Codechange: Use appropriate variable types for NewGRF engine overrides, and adjust scope while there.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r-- | src/newgrf.cpp | 4 |
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) { |