1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-20 19:57:12 +01:00

Fix previous commit.

This commit is contained in:
Sandu Liviu Catalin 2018-07-27 19:53:01 +03:00
parent 83c4e5ba23
commit 4e88cbf79e

View File

@ -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;