]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/trainview.cpp
Strip Id tags and copyright notices from files
[r2c2.git] / source / engineer / trainview.cpp
index 805fec5cfdf375f96dcd56bcbe8ca8d70c8ec3ca..c3d96fdc2fd78af194ffca98a99396cac287595e 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <msp/gl/tests.h>
 #include <msp/gltk/button.h>
 #include <msp/gltk/image.h>
@@ -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;