X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Flibr2c2%2Ftrack.cpp;h=7b6bef1de2d7e914846f67ec1b8c5f8b4eadfd64;hb=2875ea548e0567ad2ce1b8f9bda58e6452813204;hp=680e6ea8746cbe63ba7a2c797c8a952da6a625a4;hpb=7ecefa673473c6d6ef9505ca415d5b0e4dbc3944;p=r2c2.git diff --git a/source/libr2c2/track.cpp b/source/libr2c2/track.cpp index 680e6ea..7b6bef1 100644 --- a/source/libr2c2/track.cpp +++ b/source/libr2c2/track.cpp @@ -320,7 +320,7 @@ bool Track::link_to(Object &other) if(!otrack) return false; - float limit = type.get_appearance().get_gauge(); + float limit = type.get_gauge(); if(!flex && !otrack->get_flex()) limit /= 10; limit *= limit;