X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fnetwork%2Ftrain.cpp;h=4ba4df08870891e354c10c86489bc3c82a0290ac;hb=f0aa8913aa1f4df37b87dcedbc257febb0e101a1;hp=df9367e2062366140c166e5c5fd43de4b8e75b5f;hpb=1ff06c5bc46a677fa389ef86c6b26664368f1653;p=r2c2.git diff --git a/source/network/train.cpp b/source/network/train.cpp index df9367e..4ba4df0 100644 --- a/source/network/train.cpp +++ b/source/network/train.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2009 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include "client.h" #include "train.h" @@ -14,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)