X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fengineer%2Ftrainview.cpp;h=c3d96fdc2fd78af194ffca98a99396cac287595e;hb=4236c30c0a7a48854e9634e9ad7d8d6e0fd243a3;hp=805fec5cfdf375f96dcd56bcbe8ca8d70c8ec3ca;hpb=735a3d70f1bbfa34d4a2709f2e24b70acd9d7ee7;p=r2c2.git diff --git a/source/engineer/trainview.cpp b/source/engineer/trainview.cpp index 805fec5..c3d96fd 100644 --- a/source/engineer/trainview.cpp +++ b/source/engineer/trainview.cpp @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #include #include #include @@ -92,7 +85,7 @@ void TrainView::set_forward(bool f) void TrainView::prepare() { const Vehicle &veh = train.get_vehicle(0); - const Point &pos = veh.get_position(); + const Vector &pos = veh.get_position(); float angle = veh.get_direction(); if(!forward) angle += M_PI;