chore: Removed unused functions

This commit is contained in:
Yimura 2021-09-21 11:52:32 +02:00
parent 47e7c06982
commit 8ae88df44b
No known key found for this signature in database
GPG Key ID: 3D8FF4397E768682
2 changed files with 0 additions and 13 deletions

View File

@ -19,17 +19,6 @@ namespace big
g_vehicle_service = nullptr; g_vehicle_service = nullptr;
} }
bool vehicle_service::apply_from_cache(std::string id)
{
if (auto it = m_handling_profiles.find(id); it != m_handling_profiles.end())
{
*g_local_player->m_vehicle->m_handling = it->second.data;
return true;
}
return false;
}
int vehicle_service::attempt_save() int vehicle_service::attempt_save()
{ {
if (g_local_player == nullptr || g_local_player->m_in_vehicle == 0x10 || g_local_player->m_vehicle == nullptr) if (g_local_player == nullptr || g_local_player->m_in_vehicle == 0x10 || g_local_player->m_vehicle == nullptr)

View File

@ -117,8 +117,6 @@ namespace big
vehicle_service(); vehicle_service();
~vehicle_service(); ~vehicle_service();
bool apply_from_cache(std::string id);
int attempt_save(); int attempt_save();
std::string get_active_profile(std::uint32_t hash); std::string get_active_profile(std::uint32_t hash);
bool get_by_share_code(const char* share_code); bool get_by_share_code(const char* share_code);