diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-05-21 11:52:21 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-05-21 11:52:21 +0200 |
commit | da24bc8f3fa5bb00deb7042b63794f4218dee774 (patch) | |
tree | 57523903d38803d880be5939f7425dc5cfcf37ef /scene | |
parent | 97da9f14abfbbfd8a27f12afef0cd7c46fa425a6 (diff) |
VehicleBody: Cosmetic fixes to previous commit
Diffstat (limited to 'scene')
-rw-r--r-- | scene/3d/vehicle_body.cpp | 2 | ||||
-rw-r--r-- | scene/3d/vehicle_body.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/vehicle_body.cpp b/scene/3d/vehicle_body.cpp index 6eadc71d63..e35ba11e84 100644 --- a/scene/3d/vehicle_body.cpp +++ b/scene/3d/vehicle_body.cpp @@ -992,7 +992,7 @@ float VehicleBody::get_steering() const{ Vector3 VehicleBody::get_linear_velocity() { - return linear_velocity; + return linear_velocity; } void VehicleBody::_bind_methods(){ diff --git a/scene/3d/vehicle_body.h b/scene/3d/vehicle_body.h index a026a10dff..b6ad88f15e 100644 --- a/scene/3d/vehicle_body.h +++ b/scene/3d/vehicle_body.h @@ -177,7 +177,7 @@ public: void set_steering(float p_steering); float get_steering() const; - + Vector3 get_linear_velocity(); VehicleBody(); |