X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fvehicletype.cpp;h=6c9d387ad7978f1da7ae4d65701050633eabe719;hb=2d44923e135a119fde31a7a50e5fcd3e400e4f41;hp=52dc7b0f45edf2f99fd9fc0257ef3bbb982fbbda;hpb=e77b01f9fed6d5f653dbd0123f0f1f61a13c3dfa;p=r2c2.git diff --git a/source/libr2c2/vehicletype.cpp b/source/libr2c2/vehicletype.cpp index 52dc7b0..6c9d387 100644 --- a/source/libr2c2/vehicletype.cpp +++ b/source/libr2c2/vehicletype.cpp @@ -15,6 +15,7 @@ namespace R2C2 { VehicleType::VehicleType(const ArticleNumber &an): art_nr(an), locomotive(false), + swap_direction(false), length(0), width(0), height(0) @@ -119,6 +120,7 @@ VehicleType::Loader::Loader(VehicleType &vt): add("name", &VehicleType::name); add("object", &VehicleType::object); add("rod", &Loader::rod); + add("swap_direction", &VehicleType::swap_direction); add("width", &Loader::width); }