mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-22 08:42:44 +08:00
refactor: switch RAGE_JOAAT with string literal functions (#2806)
Why? Shorter to write and removes the macro usage I used the following regex to find all occurrences: ```r RAGE_JOAAT\("(.*?)"\) ``` then the following to replace it all: ```r "$1"_J ```
This commit is contained in:
@ -199,7 +199,7 @@ namespace big
|
||||
{
|
||||
//LOG(INFO) << "Driver didnt exist, creating one";
|
||||
m_driver = ped::spawn(PED_TYPE_CIVMALE,
|
||||
RAGE_JOAAT("s_m_y_devinsec_01"),
|
||||
"s_m_y_devinsec_01"_J,
|
||||
-1,
|
||||
ENTITY::GET_ENTITY_COORDS(m_controlled_vehicle.handle, 1),
|
||||
0,
|
||||
@ -400,4 +400,4 @@ namespace big
|
||||
case eControlledVehSelectionMode::CLOSEST: get_closest_vehicle(); break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user