Removed m_velocity from CVehicle. (#2563)

This commit is contained in:
gir489 2023-12-15 05:10:30 -05:00 committed by GitHub
parent a07142ebf2
commit 9dd1d49ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ namespace big
HUD::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(m_speed_types[(int)g.vehicle.speed_unit].data()); HUD::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(m_speed_types[(int)g.vehicle.speed_unit].data());
HUD::END_TEXT_COMMAND_DISPLAY_TEXT(g.vehicle.speedo_meter.x, g.vehicle.speedo_meter.y, 1); HUD::END_TEXT_COMMAND_DISPLAY_TEXT(g.vehicle.speedo_meter.x, g.vehicle.speedo_meter.y, 1);
const auto vehicle_speed = vehicle::mps_to_speed(g_local_player->m_vehicle->get_speed(), g.vehicle.speed_unit); const auto vehicle_speed = vehicle::mps_to_speed(ENTITY::GET_ENTITY_SPEED(self::veh), g.vehicle.speed_unit);
auto char_width{0}; auto char_width{0};
if (!g.vehicle.speedo_meter.left_side) if (!g.vehicle.speedo_meter.left_side)
{ {

View File

@ -90,7 +90,7 @@ namespace big::mobile
{ {
inline void request_bullshark_testosterone() inline void request_bullshark_testosterone()
{ {
*scr_globals::freemode_properties.at(3690).as<int*>() = 1; *scr_globals::freemode_properties.at(3694).as<int*>() = 1;
} }
inline void request_ballistic_armor() //i think this is a ceo ability atleast? inline void request_ballistic_armor() //i think this is a ceo ability atleast?