X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Ftrain.cpp;h=6a0c3a8b8fa99006c56275e9382618f05998b962;hb=e9653dffd0026fb3c02c91a4c0feca688a86c721;hp=5c4b457bad9bb3093edb962887d567798e6d8777;hpb=9ddcd066e37e4c72685817c042c30897786ece05;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)