]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/axle.cpp
Miscellaneous compilation fixes
[r2c2.git] / source / 3d / axle.cpp
index 2da94b992764b4caf47e6595270cd2d07effb398..6b0e1f58315ced7adbcc774efff0d2e035b7da5e 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <msp/gl/matrix.h>
 #include <msp/gl/renderer.h>
 #include "axle.h"
@@ -16,10 +9,10 @@ using namespace Msp;
 namespace R2C2 {
 
 Axle3D::Axle3D(const Vehicle3D &v, unsigned a):
-       GL::ObjectInstance(*v.get_type().get_axle_object(a)),
+       GL::ObjectInstance(*v.get_type().get_fixed_axle_object(a)),
        vehicle(v.get_vehicle()),
        bogie(0),
-       axle(vehicle.get_axle(a))
+       axle(vehicle.get_fixed_axle(a))
 { }
 
 Axle3D::Axle3D(const Vehicle3D &v, unsigned b, unsigned a):