From 4e88cbf79eae48ca38f355e04ec966b2e6160007 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 27 Jul 2018 19:53:01 +0300 Subject: [PATCH] Fix previous commit. --- source/Entity/Vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Entity/Vehicle.cpp b/source/Entity/Vehicle.cpp index 6dfb876a..220a04d9 100644 --- a/source/Entity/Vehicle.cpp +++ b/source/Entity/Vehicle.cpp @@ -274,7 +274,7 @@ LightObj & CVehicle::GetOccupant(Int32 slot) const LogWrn("Error while getting occupant at [%d] for [%s]", slot, m_Tag.c_str()); } // Default to a null instance - return Core::Get().GetNullVehicle().GetObject(); + return Core::Get().GetNullVehicle(); } // Return the requested information return Core::Get().GetPlayer(id).mObj;