X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Ftrain.cpp;h=4ba4df08870891e354c10c86489bc3c82a0290ac;hb=399b48a7a80dafde49e7530ff8dfd2820232a73f;hp=eb9563786aa982bd08eb299ae7e2252555cbc909;hpb=d15ac13f2e170f155b4bbd124df48400c339b644;p=r2c2.git diff --git a/source/network/train.cpp b/source/network/train.cpp index eb95637..4ba4df0 100644 --- a/source/network/train.cpp +++ b/source/network/train.cpp @@ -7,7 +7,7 @@ namespace R2C2 { NetTrain::NetTrain(Client &c, const TrainInfoPacket &pkt): client(c), - loco_type(client.get_catalogue().get_vehicle(pkt.loco_type)), + loco_type(client.get_catalogue().get(pkt.loco_type)), address(pkt.address), name(pkt.name), functions(0)