1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 18:39:10 +00:00

(svn r1324) Fixed problem with autoreplace GUI and msvc6 (thanks bociusz)

This commit is contained in:
bjarni
2005-01-02 17:39:01 +00:00
parent 29d8c5bb50
commit 2351271889

View File

@@ -418,10 +418,9 @@ static void SetupScrollStuffForReplaceWindow(Window *w)
case VEH_Ship: {
int num = NUM_SHIP_ENGINES;
Engine *e = &_engines[SHIP_ENGINES_INDEX];
byte cargo;
byte cargo, refittable;
EngineInfo *info;
engine_id = SHIP_ENGINES_INDEX;
byte refittable;
do {
info = &_engine_info[engine_id];
@@ -454,10 +453,10 @@ static void SetupScrollStuffForReplaceWindow(Window *w)
case VEH_Aircraft:{
int num = NUM_AIRCRAFT_ENGINES;
byte subtype;
Engine *e = &_engines[AIRCRAFT_ENGINES_INDEX];
EngineInfo *info;
engine_id = AIRCRAFT_ENGINES_INDEX;
byte subtype;
do {
info = &_engine_info[engine_id];