Removed m_velocity from CVehicle. (#2563)
This commit is contained in:
parent
a07142ebf2
commit
9dd1d49ed4
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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?
|
||||||
|
Reference in New Issue
Block a user