diff --git a/src/engine.cpp b/src/engine.cpp --- a/src/engine.cpp +++ b/src/engine.cpp @@ -85,8 +85,8 @@ Engine::Engine(VehicleType type, EngineI this->info.base_life = 0xFF; /* Set road vehicle tractive effort to the default value */ if (type == VEH_ROAD) this->u.road.tractive_effort = 0x4C; - /* Aircraft must have CT_INVALID as default, as there is no property */ - if (type == VEH_AIRCRAFT) this->info.cargo_type = CT_INVALID; + /* Aircraft must have INVALID_CARGO as default, as there is no property */ + if (type == VEH_AIRCRAFT) this->info.cargo_type = INVALID_CARGO; /* Set visual effect to the default value */ switch (type) { case VEH_TRAIN: this->u.rail.visual_effect = VE_DEFAULT; break;