X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fvehicletype.cpp;h=a2f4a34415ef1954e1bdd30910123c4d235e2764;hb=c164ce9409008e9b5a72cdbd09c332f95846e920;hp=427c29fe91664aa98030487f19d299128531a187;hpb=c06f3dde10411cd34aae026d8bf22b7771bdc3e0;p=r2c2.git diff --git a/source/3d/vehicletype.cpp b/source/3d/vehicletype.cpp index 427c29f..a2f4a34 100644 --- a/source/3d/vehicletype.cpp +++ b/source/3d/vehicletype.cpp @@ -137,7 +137,7 @@ GL::Object *VehicleType3D::get_object(const string &name) } } else - return catalogue.get(name); + return &catalogue.get(name); } return ptr; }