X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Ftrain.cpp;h=11ec776497e436c64eea49d3a8bcaecdf1e27e11;hb=45ec6f645ff2c303700711e96421c75acf33db1a;hp=cdb8e67d169297925a627c4b7556338316c0d9b6;hpb=2bb6ce8ada216c0b2caa48f4639d03f2c581098e;p=r2c2.git diff --git a/source/libmarklin/train.cpp b/source/libmarklin/train.cpp index cdb8e67..11ec776 100644 --- a/source/libmarklin/train.cpp +++ b/source/libmarklin/train.cpp @@ -990,7 +990,7 @@ unsigned Train::reserve_more() if(block->get_turnout_id()) { - const Endpoint &track_ep = track->get_type().get_endpoints()[track.entry()]; + const TrackType::Endpoint &track_ep = track->get_type().get_endpoints()[track.entry()]; bool multiple_paths = (track_ep.paths&(track_ep.paths-1)); if(multiple_paths || !last->get_turnout_id())