Removed m_velocity from CVehicle. (#2563)

This commit is contained in:
gir489 2023-12-15 05:10:30 -05:00 committed by GitHub
parent abec4cd631
commit fefaaeef3c
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::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};
if (!g.vehicle.speedo_meter.left_side)
{

View File

@ -90,7 +90,7 @@ namespace big::mobile
{
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?