X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Ftrain.cpp;h=6a0c3a8b8fa99006c56275e9382618f05998b962;hb=378f04522aa762729c0d5651fb60ad7e4d8ba9f3;hp=5c4b457bad9bb3093edb962887d567798e6d8777;hpb=ed7a7139f4858fe5d0c756798538d25893bf58b2;p=r2c2.git diff --git a/source/network/train.cpp b/source/network/train.cpp index 5c4b457..6a0c3a8 100644 --- a/source/network/train.cpp +++ b/source/network/train.cpp @@ -14,7 +14,7 @@ namespace Marklin { NetTrain::NetTrain(Client &c, const TrainInfoPacket &pkt): client(c), - loco_type(client.get_catalogue().get_locomotive(pkt.loco_type)), + loco_type(client.get_catalogue().get_vehicle(pkt.loco_type)), address(pkt.address), name(pkt.name), functions(0)